{"action":"created","comment":{"url":"https://api.github.com/repos/guzzle/guzzle/pulls/comments/69186976","id":69186976,"diff_hunk":"@@ -0,0 +1,74 @@\n+<?php\n+\n+require 'vendor/autoload.php';\n+\n+use GuzzleHttp\\Pool;\n+use GuzzleHttp\\Client;\n+use GuzzleHttp\\Psr7\\Request;\n+use GuzzleHttp\\HandlerStack;\n+use GuzzleHttp\\MessageFormatter;\n+use GuzzleHttp\\Middleware;\n+use PHPHtmlParser\\Dom;\n+use PHPHtmlParser\\Exceptions\\EmptyCollectionException;\n+\n+$stack = new HandlerStack();\n+$formatter = new MessageFormatter();\n+$stack->setHandler(\\GuzzleHttp\\choose_handler());\n+$stack->push(Middleware::httpErrors());\n+$client = new Client(['handler' => $stack,]);\n+\n+function overviewRequestFactory($page = 1)\n+{\n+    return new Request('GET', sprintf('https://kat.cr/movies/%d/', $page));","path":"_test.php","position":22,"original_position":22,"commit_id":"baef4ac8131f550623321a0460e8b149df1e6249","original_commit_id":"baef4ac8131f550623321a0460e8b149df1e6249","user":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"body":"what is this file for?","created_at":"2016-06-30T18:38:45Z","updated_at":"2016-06-30T18:38:45Z","html_url":"https://github.com/guzzle/guzzle/pull/1510#discussion_r69186976","pull_request_url":"https://api.github.com/repos/guzzle/guzzle/pulls/1510","_links":{"self":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/comments/69186976"},"html":{"href":"https://github.com/guzzle/guzzle/pull/1510#discussion_r69186976"},"pull_request":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/1510"}}},"pull_request":{"url":"https://api.github.com/repos/guzzle/guzzle/pulls/1510","id":75697005,"html_url":"https://github.com/guzzle/guzzle/pull/1510","diff_url":"https://github.com/guzzle/guzzle/pull/1510.diff","patch_url":"https://github.com/guzzle/guzzle/pull/1510.patch","issue_url":"https://api.github.com/repos/guzzle/guzzle/issues/1510","number":1510,"state":"open","locked":false,"title":"Only read up to Content-Length in stream wrapper","user":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"body":"This commit updates the stream wrapper to only read up to the number of\r\nbytes returned in the Content-Length header when draining a stream\r\nsynchronously.\r\n\r\n@Yanacek @Tobion ","created_at":"2016-06-29T18:23:27Z","updated_at":"2016-06-30T18:38:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abf944ecb267504335beabe5d4335a8fb538d099","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guzzle/guzzle/pulls/1510/commits","review_comments_url":"https://api.github.com/repos/guzzle/guzzle/pulls/1510/comments","review_comment_url":"https://api.github.com/repos/guzzle/guzzle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/1510/comments","statuses_url":"https://api.github.com/repos/guzzle/guzzle/statuses/baef4ac8131f550623321a0460e8b149df1e6249","head":{"label":"guzzle:stream-read-content-length","ref":"stream-read-content-length","sha":"baef4ac8131f550623321a0460e8b149df1e6249","user":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"repo":{"id":1420053,"name":"guzzle","full_name":"guzzle/guzzle","owner":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guzzle/guzzle","description":"Guzzle, an extensible PHP HTTP client","fork":false,"url":"https://api.github.com/repos/guzzle/guzzle","forks_url":"https://api.github.com/repos/guzzle/guzzle/forks","keys_url":"https://api.github.com/repos/guzzle/guzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guzzle/guzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guzzle/guzzle/teams","hooks_url":"https://api.github.com/repos/guzzle/guzzle/hooks","issue_events_url":"https://api.github.com/repos/guzzle/guzzle/issues/events{/number}","events_url":"https://api.github.com/repos/guzzle/guzzle/events","assignees_url":"https://api.github.com/repos/guzzle/guzzle/assignees{/user}","branches_url":"https://api.github.com/repos/guzzle/guzzle/branches{/branch}","tags_url":"https://api.github.com/repos/guzzle/guzzle/tags","blobs_url":"https://api.github.com/repos/guzzle/guzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guzzle/guzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guzzle/guzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/guzzle/guzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guzzle/guzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/guzzle/guzzle/languages","stargazers_url":"https://api.github.com/repos/guzzle/guzzle/stargazers","contributors_url":"https://api.github.com/repos/guzzle/guzzle/contributors","subscribers_url":"https://api.github.com/repos/guzzle/guzzle/subscribers","subscription_url":"https://api.github.com/repos/guzzle/guzzle/subscription","commits_url":"https://api.github.com/repos/guzzle/guzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/guzzle/guzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/guzzle/guzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/guzzle/guzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/guzzle/guzzle/contents/{+path}","compare_url":"https://api.github.com/repos/guzzle/guzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guzzle/guzzle/merges","archive_url":"https://api.github.com/repos/guzzle/guzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guzzle/guzzle/downloads","issues_url":"https://api.github.com/repos/guzzle/guzzle/issues{/number}","pulls_url":"https://api.github.com/repos/guzzle/guzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/guzzle/guzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/guzzle/guzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guzzle/guzzle/labels{/name}","releases_url":"https://api.github.com/repos/guzzle/guzzle/releases{/id}","deployments_url":"https://api.github.com/repos/guzzle/guzzle/deployments","created_at":"2011-02-28T02:44:05Z","updated_at":"2016-06-30T17:36:57Z","pushed_at":"2016-06-30T18:25:30Z","git_url":"git://github.com/guzzle/guzzle.git","ssh_url":"git@github.com:guzzle/guzzle.git","clone_url":"https://github.com/guzzle/guzzle.git","svn_url":"https://github.com/guzzle/guzzle","homepage":"http://guzzlephp.org/","size":12753,"stargazers_count":7168,"watchers_count":7168,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1121,"mirror_url":null,"open_issues_count":37,"forks":1121,"open_issues":37,"watchers":7168,"default_branch":"master"}},"base":{"label":"guzzle:master","ref":"master","sha":"502b40014c5f6c5b17894ce7ea7258b550b6b018","user":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"repo":{"id":1420053,"name":"guzzle","full_name":"guzzle/guzzle","owner":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guzzle/guzzle","description":"Guzzle, an extensible PHP HTTP client","fork":false,"url":"https://api.github.com/repos/guzzle/guzzle","forks_url":"https://api.github.com/repos/guzzle/guzzle/forks","keys_url":"https://api.github.com/repos/guzzle/guzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guzzle/guzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guzzle/guzzle/teams","hooks_url":"https://api.github.com/repos/guzzle/guzzle/hooks","issue_events_url":"https://api.github.com/repos/guzzle/guzzle/issues/events{/number}","events_url":"https://api.github.com/repos/guzzle/guzzle/events","assignees_url":"https://api.github.com/repos/guzzle/guzzle/assignees{/user}","branches_url":"https://api.github.com/repos/guzzle/guzzle/branches{/branch}","tags_url":"https://api.github.com/repos/guzzle/guzzle/tags","blobs_url":"https://api.github.com/repos/guzzle/guzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guzzle/guzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guzzle/guzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/guzzle/guzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guzzle/guzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/guzzle/guzzle/languages","stargazers_url":"https://api.github.com/repos/guzzle/guzzle/stargazers","contributors_url":"https://api.github.com/repos/guzzle/guzzle/contributors","subscribers_url":"https://api.github.com/repos/guzzle/guzzle/subscribers","subscription_url":"https://api.github.com/repos/guzzle/guzzle/subscription","commits_url":"https://api.github.com/repos/guzzle/guzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/guzzle/guzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/guzzle/guzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/guzzle/guzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/guzzle/guzzle/contents/{+path}","compare_url":"https://api.github.com/repos/guzzle/guzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guzzle/guzzle/merges","archive_url":"https://api.github.com/repos/guzzle/guzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guzzle/guzzle/downloads","issues_url":"https://api.github.com/repos/guzzle/guzzle/issues{/number}","pulls_url":"https://api.github.com/repos/guzzle/guzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/guzzle/guzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/guzzle/guzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guzzle/guzzle/labels{/name}","releases_url":"https://api.github.com/repos/guzzle/guzzle/releases{/id}","deployments_url":"https://api.github.com/repos/guzzle/guzzle/deployments","created_at":"2011-02-28T02:44:05Z","updated_at":"2016-06-30T17:36:57Z","pushed_at":"2016-06-30T18:25:30Z","git_url":"git://github.com/guzzle/guzzle.git","ssh_url":"git@github.com:guzzle/guzzle.git","clone_url":"https://github.com/guzzle/guzzle.git","svn_url":"https://github.com/guzzle/guzzle","homepage":"http://guzzlephp.org/","size":12753,"stargazers_count":7168,"watchers_count":7168,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1121,"mirror_url":null,"open_issues_count":37,"forks":1121,"open_issues":37,"watchers":7168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/1510"},"html":{"href":"https://github.com/guzzle/guzzle/pull/1510"},"issue":{"href":"https://api.github.com/repos/guzzle/guzzle/issues/1510"},"comments":{"href":"https://api.github.com/repos/guzzle/guzzle/issues/1510/comments"},"review_comments":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/1510/comments"},"review_comment":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guzzle/guzzle/pulls/1510/commits"},"statuses":{"href":"https://api.github.com/repos/guzzle/guzzle/statuses/baef4ac8131f550623321a0460e8b149df1e6249"}}}}
{"actor":{"display_login":"Tobion"}}