{"action":"created","comment":{"url":"https://api.github.com/repos/reactphp/http-client/pulls/comments/37754793","id":37754793,"diff_hunk":"@@ -203,20 +203,26 @@ public function close(\\Exception $error = null)\n \n     protected function parseResponse($data)\n     {\n-        $parser = new MessageParser();\n-        $parsed = $parser->parseResponse($data);\n+        $psrResponse = gPsr\\parse_response($data);\n+        $headers = array_map(function(&$val) {","path":"src/Request.php","position":16,"original_position":16,"commit_id":"16fc073abb730157cec236497f51331e43d42a69","original_commit_id":"16fc073abb730157cec236497f51331e43d42a69","user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"body":"Doh! Will fix it :+1: ","created_at":"2015-08-24T14:12:01Z","updated_at":"2015-08-24T14:12:01Z","html_url":"https://github.com/reactphp/http-client/pull/34#discussion_r37754793","pull_request_url":"https://api.github.com/repos/reactphp/http-client/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/comments/37754793"},"html":{"href":"https://github.com/reactphp/http-client/pull/34#discussion_r37754793"},"pull_request":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/reactphp/http-client/pulls/34","id":43108975,"html_url":"https://github.com/reactphp/http-client/pull/34","diff_url":"https://github.com/reactphp/http-client/pull/34.diff","patch_url":"https://github.com/reactphp/http-client/pull/34.patch","issue_url":"https://api.github.com/repos/reactphp/http-client/issues/34","number":34,"state":"open","locked":false,"title":"Replace the abandoned guzzle/parser","user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"body":"fixes #23\r\noverrules #26\r\n\r\nThis replaces the old abandoned guzzle/parser with guzzlehttp/psr7 ","created_at":"2015-08-22T19:40:48Z","updated_at":"2015-08-24T14:12:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"208fec8a8054879934e3137f0e47f3658bea9980","assignee":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/reactphp/http-client/pulls/34/commits","review_comments_url":"https://api.github.com/repos/reactphp/http-client/pulls/34/comments","review_comment_url":"https://api.github.com/repos/reactphp/http-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reactphp/http-client/issues/34/comments","statuses_url":"https://api.github.com/repos/reactphp/http-client/statuses/16fc073abb730157cec236497f51331e43d42a69","head":{"label":"reactphp:guzzle-message-parser-replacement","ref":"guzzle-message-parser-replacement","sha":"16fc073abb730157cec236497f51331e43d42a69","user":{"login":"reactphp","id":1696866,"avatar_url":"https://avatars.githubusercontent.com/u/1696866?v=3","gravatar_id":"","url":"https://api.github.com/users/reactphp","html_url":"https://github.com/reactphp","followers_url":"https://api.github.com/users/reactphp/followers","following_url":"https://api.github.com/users/reactphp/following{/other_user}","gists_url":"https://api.github.com/users/reactphp/gists{/gist_id}","starred_url":"https://api.github.com/users/reactphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactphp/subscriptions","organizations_url":"https://api.github.com/users/reactphp/orgs","repos_url":"https://api.github.com/users/reactphp/repos","events_url":"https://api.github.com/users/reactphp/events{/privacy}","received_events_url":"https://api.github.com/users/reactphp/received_events","type":"Organization","site_admin":false},"repo":{"id":6432321,"name":"http-client","full_name":"reactphp/http-client","owner":{"login":"reactphp","id":1696866,"avatar_url":"https://avatars.githubusercontent.com/u/1696866?v=3","gravatar_id":"","url":"https://api.github.com/users/reactphp","html_url":"https://github.com/reactphp","followers_url":"https://api.github.com/users/reactphp/followers","following_url":"https://api.github.com/users/reactphp/following{/other_user}","gists_url":"https://api.github.com/users/reactphp/gists{/gist_id}","starred_url":"https://api.github.com/users/reactphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactphp/subscriptions","organizations_url":"https://api.github.com/users/reactphp/orgs","repos_url":"https://api.github.com/users/reactphp/repos","events_url":"https://api.github.com/users/reactphp/events{/privacy}","received_events_url":"https://api.github.com/users/reactphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reactphp/http-client","description":"Asynchronous HTTP client library","fork":false,"url":"https://api.github.com/repos/reactphp/http-client","forks_url":"https://api.github.com/repos/reactphp/http-client/forks","keys_url":"https://api.github.com/repos/reactphp/http-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactphp/http-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactphp/http-client/teams","hooks_url":"https://api.github.com/repos/reactphp/http-client/hooks","issue_events_url":"https://api.github.com/repos/reactphp/http-client/issues/events{/number}","events_url":"https://api.github.com/repos/reactphp/http-client/events","assignees_url":"https://api.github.com/repos/reactphp/http-client/assignees{/user}","branches_url":"https://api.github.com/repos/reactphp/http-client/branches{/branch}","tags_url":"https://api.github.com/repos/reactphp/http-client/tags","blobs_url":"https://api.github.com/repos/reactphp/http-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactphp/http-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactphp/http-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactphp/http-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactphp/http-client/statuses/{sha}","languages_url":"https://api.github.com/repos/reactphp/http-client/languages","stargazers_url":"https://api.github.com/repos/reactphp/http-client/stargazers","contributors_url":"https://api.github.com/repos/reactphp/http-client/contributors","subscribers_url":"https://api.github.com/repos/reactphp/http-client/subscribers","subscription_url":"https://api.github.com/repos/reactphp/http-client/subscription","commits_url":"https://api.github.com/repos/reactphp/http-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactphp/http-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactphp/http-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactphp/http-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactphp/http-client/contents/{+path}","compare_url":"https://api.github.com/repos/reactphp/http-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactphp/http-client/merges","archive_url":"https://api.github.com/repos/reactphp/http-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactphp/http-client/downloads","issues_url":"https://api.github.com/repos/reactphp/http-client/issues{/number}","pulls_url":"https://api.github.com/repos/reactphp/http-client/pulls{/number}","milestones_url":"https://api.github.com/repos/reactphp/http-client/milestones{/number}","notifications_url":"https://api.github.com/repos/reactphp/http-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactphp/http-client/labels{/name}","releases_url":"https://api.github.com/repos/reactphp/http-client/releases{/id}","created_at":"2012-10-28T21:33:00Z","updated_at":"2015-08-24T09:48:41Z","pushed_at":"2015-08-24T09:43:42Z","git_url":"git://github.com/reactphp/http-client.git","ssh_url":"git@github.com:reactphp/http-client.git","clone_url":"https://github.com/reactphp/http-client.git","svn_url":"https://github.com/reactphp/http-client","homepage":"","size":455,"stargazers_count":53,"watchers_count":53,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":14,"forks":24,"open_issues":14,"watchers":53,"default_branch":"master"}},"base":{"label":"reactphp:master","ref":"master","sha":"470fe93a254c255eb2cee5716abd3bd551ef2de2","user":{"login":"reactphp","id":1696866,"avatar_url":"https://avatars.githubusercontent.com/u/1696866?v=3","gravatar_id":"","url":"https://api.github.com/users/reactphp","html_url":"https://github.com/reactphp","followers_url":"https://api.github.com/users/reactphp/followers","following_url":"https://api.github.com/users/reactphp/following{/other_user}","gists_url":"https://api.github.com/users/reactphp/gists{/gist_id}","starred_url":"https://api.github.com/users/reactphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactphp/subscriptions","organizations_url":"https://api.github.com/users/reactphp/orgs","repos_url":"https://api.github.com/users/reactphp/repos","events_url":"https://api.github.com/users/reactphp/events{/privacy}","received_events_url":"https://api.github.com/users/reactphp/received_events","type":"Organization","site_admin":false},"repo":{"id":6432321,"name":"http-client","full_name":"reactphp/http-client","owner":{"login":"reactphp","id":1696866,"avatar_url":"https://avatars.githubusercontent.com/u/1696866?v=3","gravatar_id":"","url":"https://api.github.com/users/reactphp","html_url":"https://github.com/reactphp","followers_url":"https://api.github.com/users/reactphp/followers","following_url":"https://api.github.com/users/reactphp/following{/other_user}","gists_url":"https://api.github.com/users/reactphp/gists{/gist_id}","starred_url":"https://api.github.com/users/reactphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactphp/subscriptions","organizations_url":"https://api.github.com/users/reactphp/orgs","repos_url":"https://api.github.com/users/reactphp/repos","events_url":"https://api.github.com/users/reactphp/events{/privacy}","received_events_url":"https://api.github.com/users/reactphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reactphp/http-client","description":"Asynchronous HTTP client library","fork":false,"url":"https://api.github.com/repos/reactphp/http-client","forks_url":"https://api.github.com/repos/reactphp/http-client/forks","keys_url":"https://api.github.com/repos/reactphp/http-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactphp/http-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactphp/http-client/teams","hooks_url":"https://api.github.com/repos/reactphp/http-client/hooks","issue_events_url":"https://api.github.com/repos/reactphp/http-client/issues/events{/number}","events_url":"https://api.github.com/repos/reactphp/http-client/events","assignees_url":"https://api.github.com/repos/reactphp/http-client/assignees{/user}","branches_url":"https://api.github.com/repos/reactphp/http-client/branches{/branch}","tags_url":"https://api.github.com/repos/reactphp/http-client/tags","blobs_url":"https://api.github.com/repos/reactphp/http-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactphp/http-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactphp/http-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactphp/http-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactphp/http-client/statuses/{sha}","languages_url":"https://api.github.com/repos/reactphp/http-client/languages","stargazers_url":"https://api.github.com/repos/reactphp/http-client/stargazers","contributors_url":"https://api.github.com/repos/reactphp/http-client/contributors","subscribers_url":"https://api.github.com/repos/reactphp/http-client/subscribers","subscription_url":"https://api.github.com/repos/reactphp/http-client/subscription","commits_url":"https://api.github.com/repos/reactphp/http-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactphp/http-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactphp/http-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactphp/http-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactphp/http-client/contents/{+path}","compare_url":"https://api.github.com/repos/reactphp/http-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactphp/http-client/merges","archive_url":"https://api.github.com/repos/reactphp/http-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactphp/http-client/downloads","issues_url":"https://api.github.com/repos/reactphp/http-client/issues{/number}","pulls_url":"https://api.github.com/repos/reactphp/http-client/pulls{/number}","milestones_url":"https://api.github.com/repos/reactphp/http-client/milestones{/number}","notifications_url":"https://api.github.com/repos/reactphp/http-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactphp/http-client/labels{/name}","releases_url":"https://api.github.com/repos/reactphp/http-client/releases{/id}","created_at":"2012-10-28T21:33:00Z","updated_at":"2015-08-24T09:48:41Z","pushed_at":"2015-08-24T09:43:42Z","git_url":"git://github.com/reactphp/http-client.git","ssh_url":"git@github.com:reactphp/http-client.git","clone_url":"https://github.com/reactphp/http-client.git","svn_url":"https://github.com/reactphp/http-client","homepage":"","size":455,"stargazers_count":53,"watchers_count":53,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":14,"forks":24,"open_issues":14,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/34"},"html":{"href":"https://github.com/reactphp/http-client/pull/34"},"issue":{"href":"https://api.github.com/repos/reactphp/http-client/issues/34"},"comments":{"href":"https://api.github.com/repos/reactphp/http-client/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reactphp/http-client/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/reactphp/http-client/statuses/16fc073abb730157cec236497f51331e43d42a69"}}}}