{"action":"closed","number":495,"pull_request":{"url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495","id":46589652,"html_url":"https://github.com/WPO-Foundation/webpagetest/pull/495","diff_url":"https://github.com/WPO-Foundation/webpagetest/pull/495.diff","patch_url":"https://github.com/WPO-Foundation/webpagetest/pull/495.patch","issue_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/495","number":495,"state":"closed","locked":false,"title":"New option to add custom headers to http requests","user":{"login":"ocr","id":278424,"avatar_url":"https://avatars.githubusercontent.com/u/278424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocr","html_url":"https://github.com/ocr","followers_url":"https://api.github.com/users/ocr/followers","following_url":"https://api.github.com/users/ocr/following{/other_user}","gists_url":"https://api.github.com/users/ocr/gists{/gist_id}","starred_url":"https://api.github.com/users/ocr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocr/subscriptions","organizations_url":"https://api.github.com/users/ocr/orgs","repos_url":"https://api.github.com/users/ocr/repos","events_url":"https://api.github.com/users/ocr/events{/privacy}","received_events_url":"https://api.github.com/users/ocr/received_events","type":"User","site_admin":false},"body":"Custom headers are useful to control features of other testing or monitoring\r\nplatforms, such as enabling snapshots on AppDynamic's APM. Other use cases\r\nfor custom headers include authentication, setting cookies (for example, for\r\nsessions), control backend features (cache policies,...), ...\r\n\r\nThe same effect can be achieved with scripts. This is a convenience feature that we are adding because our (soon to be released) integration with WebDriver disables custom scripts per say.","created_at":"2015-10-01T23:32:55Z","updated_at":"2015-10-02T00:03:42Z","closed_at":"2015-10-02T00:03:41Z","merged_at":"2015-10-02T00:03:41Z","merge_commit_sha":"6054ede83f58a1ecfa01c0859e80c6ec852a3baa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495/commits","review_comments_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495/comments","review_comment_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/495/comments","statuses_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/statuses/0310a4ffe6914310411bd4f715756ec720eaa0fb","head":{"label":"Appdynamics:add_custom_headers","ref":"add_custom_headers","sha":"0310a4ffe6914310411bd4f715756ec720eaa0fb","user":{"login":"Appdynamics","id":1772014,"avatar_url":"https://avatars.githubusercontent.com/u/1772014?v=3","gravatar_id":"","url":"https://api.github.com/users/Appdynamics","html_url":"https://github.com/Appdynamics","followers_url":"https://api.github.com/users/Appdynamics/followers","following_url":"https://api.github.com/users/Appdynamics/following{/other_user}","gists_url":"https://api.github.com/users/Appdynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/Appdynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Appdynamics/subscriptions","organizations_url":"https://api.github.com/users/Appdynamics/orgs","repos_url":"https://api.github.com/users/Appdynamics/repos","events_url":"https://api.github.com/users/Appdynamics/events{/privacy}","received_events_url":"https://api.github.com/users/Appdynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":26832537,"name":"webpagetest","full_name":"Appdynamics/webpagetest","owner":{"login":"Appdynamics","id":1772014,"avatar_url":"https://avatars.githubusercontent.com/u/1772014?v=3","gravatar_id":"","url":"https://api.github.com/users/Appdynamics","html_url":"https://github.com/Appdynamics","followers_url":"https://api.github.com/users/Appdynamics/followers","following_url":"https://api.github.com/users/Appdynamics/following{/other_user}","gists_url":"https://api.github.com/users/Appdynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/Appdynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Appdynamics/subscriptions","organizations_url":"https://api.github.com/users/Appdynamics/orgs","repos_url":"https://api.github.com/users/Appdynamics/repos","events_url":"https://api.github.com/users/Appdynamics/events{/privacy}","received_events_url":"https://api.github.com/users/Appdynamics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Appdynamics/webpagetest","description":"Appdynamics repository for WebPagetest","fork":true,"url":"https://api.github.com/repos/Appdynamics/webpagetest","forks_url":"https://api.github.com/repos/Appdynamics/webpagetest/forks","keys_url":"https://api.github.com/repos/Appdynamics/webpagetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Appdynamics/webpagetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Appdynamics/webpagetest/teams","hooks_url":"https://api.github.com/repos/Appdynamics/webpagetest/hooks","issue_events_url":"https://api.github.com/repos/Appdynamics/webpagetest/issues/events{/number}","events_url":"https://api.github.com/repos/Appdynamics/webpagetest/events","assignees_url":"https://api.github.com/repos/Appdynamics/webpagetest/assignees{/user}","branches_url":"https://api.github.com/repos/Appdynamics/webpagetest/branches{/branch}","tags_url":"https://api.github.com/repos/Appdynamics/webpagetest/tags","blobs_url":"https://api.github.com/repos/Appdynamics/webpagetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Appdynamics/webpagetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Appdynamics/webpagetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Appdynamics/webpagetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Appdynamics/webpagetest/statuses/{sha}","languages_url":"https://api.github.com/repos/Appdynamics/webpagetest/languages","stargazers_url":"https://api.github.com/repos/Appdynamics/webpagetest/stargazers","contributors_url":"https://api.github.com/repos/Appdynamics/webpagetest/contributors","subscribers_url":"https://api.github.com/repos/Appdynamics/webpagetest/subscribers","subscription_url":"https://api.github.com/repos/Appdynamics/webpagetest/subscription","commits_url":"https://api.github.com/repos/Appdynamics/webpagetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Appdynamics/webpagetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Appdynamics/webpagetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Appdynamics/webpagetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Appdynamics/webpagetest/contents/{+path}","compare_url":"https://api.github.com/repos/Appdynamics/webpagetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Appdynamics/webpagetest/merges","archive_url":"https://api.github.com/repos/Appdynamics/webpagetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Appdynamics/webpagetest/downloads","issues_url":"https://api.github.com/repos/Appdynamics/webpagetest/issues{/number}","pulls_url":"https://api.github.com/repos/Appdynamics/webpagetest/pulls{/number}","milestones_url":"https://api.github.com/repos/Appdynamics/webpagetest/milestones{/number}","notifications_url":"https://api.github.com/repos/Appdynamics/webpagetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Appdynamics/webpagetest/labels{/name}","releases_url":"https://api.github.com/repos/Appdynamics/webpagetest/releases{/id}","created_at":"2014-11-18T22:11:45Z","updated_at":"2015-08-18T00:43:38Z","pushed_at":"2015-10-01T22:54:29Z","git_url":"git://github.com/Appdynamics/webpagetest.git","ssh_url":"git@github.com:Appdynamics/webpagetest.git","clone_url":"https://github.com/Appdynamics/webpagetest.git","svn_url":"https://github.com/Appdynamics/webpagetest","homepage":"","size":615378,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"WPO-Foundation:master","ref":"master","sha":"af73f7de8549f123df67d932eb91cd070ee26d01","user":{"login":"WPO-Foundation","id":4622875,"avatar_url":"https://avatars.githubusercontent.com/u/4622875?v=3","gravatar_id":"","url":"https://api.github.com/users/WPO-Foundation","html_url":"https://github.com/WPO-Foundation","followers_url":"https://api.github.com/users/WPO-Foundation/followers","following_url":"https://api.github.com/users/WPO-Foundation/following{/other_user}","gists_url":"https://api.github.com/users/WPO-Foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/WPO-Foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPO-Foundation/subscriptions","organizations_url":"https://api.github.com/users/WPO-Foundation/orgs","repos_url":"https://api.github.com/users/WPO-Foundation/repos","events_url":"https://api.github.com/users/WPO-Foundation/events{/privacy}","received_events_url":"https://api.github.com/users/WPO-Foundation/received_events","type":"Organization","site_admin":false},"repo":{"id":11029192,"name":"webpagetest","full_name":"WPO-Foundation/webpagetest","owner":{"login":"WPO-Foundation","id":4622875,"avatar_url":"https://avatars.githubusercontent.com/u/4622875?v=3","gravatar_id":"","url":"https://api.github.com/users/WPO-Foundation","html_url":"https://github.com/WPO-Foundation","followers_url":"https://api.github.com/users/WPO-Foundation/followers","following_url":"https://api.github.com/users/WPO-Foundation/following{/other_user}","gists_url":"https://api.github.com/users/WPO-Foundation/gists{/gist_id}","starred_url":"https://api.github.com/users/WPO-Foundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPO-Foundation/subscriptions","organizations_url":"https://api.github.com/users/WPO-Foundation/orgs","repos_url":"https://api.github.com/users/WPO-Foundation/repos","events_url":"https://api.github.com/users/WPO-Foundation/events{/privacy}","received_events_url":"https://api.github.com/users/WPO-Foundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WPO-Foundation/webpagetest","description":"Official repository for WebPagetest","fork":false,"url":"https://api.github.com/repos/WPO-Foundation/webpagetest","forks_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/forks","keys_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/teams","hooks_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/hooks","issue_events_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/events{/number}","events_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/events","assignees_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/assignees{/user}","branches_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/branches{/branch}","tags_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/tags","blobs_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/statuses/{sha}","languages_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/languages","stargazers_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/stargazers","contributors_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/contributors","subscribers_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/subscribers","subscription_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/subscription","commits_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/contents/{+path}","compare_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/merges","archive_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/downloads","issues_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues{/number}","pulls_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls{/number}","milestones_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/milestones{/number}","notifications_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/labels{/name}","releases_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/releases{/id}","created_at":"2013-06-28T14:54:54Z","updated_at":"2015-09-30T15:12:35Z","pushed_at":"2015-10-02T00:03:41Z","git_url":"git://github.com/WPO-Foundation/webpagetest.git","ssh_url":"git@github.com:WPO-Foundation/webpagetest.git","clone_url":"https://github.com/WPO-Foundation/webpagetest.git","svn_url":"https://github.com/WPO-Foundation/webpagetest","homepage":null,"size":653454,"stargazers_count":789,"watchers_count":789,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":205,"mirror_url":null,"open_issues_count":183,"forks":205,"open_issues":183,"watchers":789,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495"},"html":{"href":"https://github.com/WPO-Foundation/webpagetest/pull/495"},"issue":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/495"},"comments":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/495/comments"},"review_comments":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495/comments"},"review_comment":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/495/commits"},"statuses":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/statuses/0310a4ffe6914310411bd4f715756ec720eaa0fb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pmeenan","id":444165,"avatar_url":"https://avatars.githubusercontent.com/u/444165?v=3","gravatar_id":"","url":"https://api.github.com/users/pmeenan","html_url":"https://github.com/pmeenan","followers_url":"https://api.github.com/users/pmeenan/followers","following_url":"https://api.github.com/users/pmeenan/following{/other_user}","gists_url":"https://api.github.com/users/pmeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeenan/subscriptions","organizations_url":"https://api.github.com/users/pmeenan/orgs","repos_url":"https://api.github.com/users/pmeenan/repos","events_url":"https://api.github.com/users/pmeenan/events{/privacy}","received_events_url":"https://api.github.com/users/pmeenan/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":2}}