{"action":"created","comment":{"url":"https://api.github.com/repos/iojs/io.js/pulls/comments/24362437","id":24362437,"diff_hunk":"@@ -337,6 +337,14 @@ OutgoingMessage.prototype.getHeader = function(name) {\n };\n \n \n+OutgoingMessage.prototype.getAllHeaders = function() {\n+  if (!this._headers)\n+    return;","path":"lib/_http_outgoing.js","position":6,"original_position":6,"commit_id":"7d76ff121a5fb447ef9e57e9d05fccca88c2fe31","original_commit_id":"7d76ff121a5fb447ef9e57e9d05fccca88c2fe31","user":{"login":"chrisdickinson","id":37303,"avatar_url":"https://avatars.githubusercontent.com/u/37303?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdickinson","html_url":"https://github.com/chrisdickinson","followers_url":"https://api.github.com/users/chrisdickinson/followers","following_url":"https://api.github.com/users/chrisdickinson/following{/other_user}","gists_url":"https://api.github.com/users/chrisdickinson/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdickinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdickinson/subscriptions","organizations_url":"https://api.github.com/users/chrisdickinson/orgs","repos_url":"https://api.github.com/users/chrisdickinson/repos","events_url":"https://api.github.com/users/chrisdickinson/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdickinson/received_events","type":"User","site_admin":false},"body":"Returning `undefined` allows us differentiate \"lack of _headers set\" (i.e., possibly flushed) from \"empty headers set.\"","created_at":"2015-02-09T20:30:56Z","updated_at":"2015-02-09T20:30:56Z","html_url":"https://github.com/iojs/io.js/pull/772#discussion_r24362437","pull_request_url":"https://api.github.com/repos/iojs/io.js/pulls/772","_links":{"self":{"href":"https://api.github.com/repos/iojs/io.js/pulls/comments/24362437"},"html":{"href":"https://github.com/iojs/io.js/pull/772#discussion_r24362437"},"pull_request":{"href":"https://api.github.com/repos/iojs/io.js/pulls/772"}}},"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/772","id":28942779,"html_url":"https://github.com/iojs/io.js/pull/772","diff_url":"https://github.com/iojs/io.js/pull/772.diff","patch_url":"https://github.com/iojs/io.js/pull/772.patch","issue_url":"https://api.github.com/repos/iojs/io.js/issues/772","number":772,"state":"open","locked":false,"title":"http: introduce `getAllHeaders()`","user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"body":"Succeeds the patch proposed in #170\r\n\r\nR=@chrisdickinson, cc @iankronquist","created_at":"2015-02-09T18:07:28Z","updated_at":"2015-02-09T20:30:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c6bf7f63c067344f4630e590cd8dd83743856d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iojs/io.js/pulls/772/commits","review_comments_url":"https://api.github.com/repos/iojs/io.js/pulls/772/comments","review_comment_url":"https://api.github.com/repos/iojs/io.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/772/comments","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/7d76ff121a5fb447ef9e57e9d05fccca88c2fe31","head":{"label":"Fishrock123:get-all-headers","ref":"get-all-headers","sha":"7d76ff121a5fb447ef9e57e9d05fccca88c2fe31","user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"repo":{"id":29684638,"name":"io.js","full_name":"Fishrock123/io.js","owner":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fishrock123/io.js","description":"A spork of Node.js with an open governance model","fork":true,"url":"https://api.github.com/repos/Fishrock123/io.js","forks_url":"https://api.github.com/repos/Fishrock123/io.js/forks","keys_url":"https://api.github.com/repos/Fishrock123/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fishrock123/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fishrock123/io.js/teams","hooks_url":"https://api.github.com/repos/Fishrock123/io.js/hooks","issue_events_url":"https://api.github.com/repos/Fishrock123/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/Fishrock123/io.js/events","assignees_url":"https://api.github.com/repos/Fishrock123/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/Fishrock123/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/Fishrock123/io.js/tags","blobs_url":"https://api.github.com/repos/Fishrock123/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fishrock123/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fishrock123/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fishrock123/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fishrock123/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Fishrock123/io.js/languages","stargazers_url":"https://api.github.com/repos/Fishrock123/io.js/stargazers","contributors_url":"https://api.github.com/repos/Fishrock123/io.js/contributors","subscribers_url":"https://api.github.com/repos/Fishrock123/io.js/subscribers","subscription_url":"https://api.github.com/repos/Fishrock123/io.js/subscription","commits_url":"https://api.github.com/repos/Fishrock123/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fishrock123/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fishrock123/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fishrock123/io.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/Fishrock123/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/Fishrock123/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fishrock123/io.js/merges","archive_url":"https://api.github.com/repos/Fishrock123/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fishrock123/io.js/downloads","issues_url":"https://api.github.com/repos/Fishrock123/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/Fishrock123/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Fishrock123/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Fishrock123/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fishrock123/io.js/labels{/name}","releases_url":"https://api.github.com/repos/Fishrock123/io.js/releases{/id}","created_at":"2015-01-22T15:15:17Z","updated_at":"2015-02-09T17:25:46Z","pushed_at":"2015-02-09T18:04:59Z","git_url":"git://github.com/Fishrock123/io.js.git","ssh_url":"git@github.com:Fishrock123/io.js.git","clone_url":"https://github.com/Fishrock123/io.js.git","svn_url":"https://github.com/Fishrock123/io.js","homepage":"https://iojs.org","size":119167,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v1.x"}},"base":{"label":"iojs:v1.x","ref":"v1.x","sha":"5e825d1073b57a87fc9a77751ed3e21c86970082","user":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"io.js","full_name":"iojs/io.js","owner":{"login":"iojs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/iojs","html_url":"https://github.com/iojs","followers_url":"https://api.github.com/users/iojs/followers","following_url":"https://api.github.com/users/iojs/following{/other_user}","gists_url":"https://api.github.com/users/iojs/gists{/gist_id}","starred_url":"https://api.github.com/users/iojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iojs/subscriptions","organizations_url":"https://api.github.com/users/iojs/orgs","repos_url":"https://api.github.com/users/iojs/repos","events_url":"https://api.github.com/users/iojs/events{/privacy}","received_events_url":"https://api.github.com/users/iojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iojs/io.js","description":"A friendly fork of Node.js with an open governance model","fork":false,"url":"https://api.github.com/repos/iojs/io.js","forks_url":"https://api.github.com/repos/iojs/io.js/forks","keys_url":"https://api.github.com/repos/iojs/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iojs/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iojs/io.js/teams","hooks_url":"https://api.github.com/repos/iojs/io.js/hooks","issue_events_url":"https://api.github.com/repos/iojs/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/iojs/io.js/events","assignees_url":"https://api.github.com/repos/iojs/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/iojs/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/iojs/io.js/tags","blobs_url":"https://api.github.com/repos/iojs/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iojs/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iojs/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/iojs/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iojs/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/iojs/io.js/languages","stargazers_url":"https://api.github.com/repos/iojs/io.js/stargazers","contributors_url":"https://api.github.com/repos/iojs/io.js/contributors","subscribers_url":"https://api.github.com/repos/iojs/io.js/subscribers","subscription_url":"https://api.github.com/repos/iojs/io.js/subscription","commits_url":"https://api.github.com/repos/iojs/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/iojs/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/iojs/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/iojs/io.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/iojs/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/iojs/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iojs/io.js/merges","archive_url":"https://api.github.com/repos/iojs/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iojs/io.js/downloads","issues_url":"https://api.github.com/repos/iojs/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/iojs/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/iojs/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/iojs/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iojs/io.js/labels{/name}","releases_url":"https://api.github.com/repos/iojs/io.js/releases{/id}","created_at":"2014-11-26T19:57:11Z","updated_at":"2015-02-09T20:17:44Z","pushed_at":"2015-02-09T17:07:19Z","git_url":"git://github.com/iojs/io.js.git","ssh_url":"git@github.com:iojs/io.js.git","clone_url":"https://github.com/iojs/io.js.git","svn_url":"https://github.com/iojs/io.js","homepage":"https://iojs.org","size":143947,"stargazers_count":9750,"watchers_count":9750,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":587,"mirror_url":null,"open_issues_count":135,"forks":587,"open_issues":135,"watchers":9750,"default_branch":"v1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/iojs/io.js/pulls/772"},"html":{"href":"https://github.com/iojs/io.js/pull/772"},"issue":{"href":"https://api.github.com/repos/iojs/io.js/issues/772"},"comments":{"href":"https://api.github.com/repos/iojs/io.js/issues/772/comments"},"review_comments":{"href":"https://api.github.com/repos/iojs/io.js/pulls/772/comments"},"review_comment":{"href":"https://api.github.com/repos/iojs/io.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/iojs/io.js/pulls/772/commits"},"statuses":{"href":"https://api.github.com/repos/iojs/io.js/statuses/7d76ff121a5fb447ef9e57e9d05fccca88c2fe31"}}}}