{"action":"opened","number":56,"pull_request":{"url":"https://api.github.com/repos/fruux/sabre-http/pulls/56","id":55036522,"html_url":"https://github.com/fruux/sabre-http/pull/56","diff_url":"https://github.com/fruux/sabre-http/pull/56.diff","patch_url":"https://github.com/fruux/sabre-http/pull/56.patch","issue_url":"https://api.github.com/repos/fruux/sabre-http/issues/56","number":56,"state":"open","locked":false,"title":"Respecting the Content-Length header when turning HTTP bodies into strings","user":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"body":"`getBodyAsString` should only return at most as many bytes as the value of `Content-Length`, this allows users to pass much larger streams without having to copy and truncate them.","created_at":"2016-01-04T23:25:19Z","updated_at":"2016-01-04T23:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fruux/sabre-http/pulls/56/commits","review_comments_url":"https://api.github.com/repos/fruux/sabre-http/pulls/56/comments","review_comment_url":"https://api.github.com/repos/fruux/sabre-http/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fruux/sabre-http/issues/56/comments","statuses_url":"https://api.github.com/repos/fruux/sabre-http/statuses/b0d5a03a160c41943c1b5d2756e55db67da65682","head":{"label":"fruux:respect-contentlength","ref":"respect-contentlength","sha":"b0d5a03a160c41943c1b5d2756e55db67da65682","user":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"repo":{"id":5848865,"name":"sabre-http","full_name":"fruux/sabre-http","owner":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fruux/sabre-http","description":":earth_africa: The sabre/http library provides utilities for dealing with http requests and responses.","fork":false,"url":"https://api.github.com/repos/fruux/sabre-http","forks_url":"https://api.github.com/repos/fruux/sabre-http/forks","keys_url":"https://api.github.com/repos/fruux/sabre-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fruux/sabre-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fruux/sabre-http/teams","hooks_url":"https://api.github.com/repos/fruux/sabre-http/hooks","issue_events_url":"https://api.github.com/repos/fruux/sabre-http/issues/events{/number}","events_url":"https://api.github.com/repos/fruux/sabre-http/events","assignees_url":"https://api.github.com/repos/fruux/sabre-http/assignees{/user}","branches_url":"https://api.github.com/repos/fruux/sabre-http/branches{/branch}","tags_url":"https://api.github.com/repos/fruux/sabre-http/tags","blobs_url":"https://api.github.com/repos/fruux/sabre-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fruux/sabre-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fruux/sabre-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/fruux/sabre-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fruux/sabre-http/statuses/{sha}","languages_url":"https://api.github.com/repos/fruux/sabre-http/languages","stargazers_url":"https://api.github.com/repos/fruux/sabre-http/stargazers","contributors_url":"https://api.github.com/repos/fruux/sabre-http/contributors","subscribers_url":"https://api.github.com/repos/fruux/sabre-http/subscribers","subscription_url":"https://api.github.com/repos/fruux/sabre-http/subscription","commits_url":"https://api.github.com/repos/fruux/sabre-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/fruux/sabre-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/fruux/sabre-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/fruux/sabre-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/fruux/sabre-http/contents/{+path}","compare_url":"https://api.github.com/repos/fruux/sabre-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fruux/sabre-http/merges","archive_url":"https://api.github.com/repos/fruux/sabre-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fruux/sabre-http/downloads","issues_url":"https://api.github.com/repos/fruux/sabre-http/issues{/number}","pulls_url":"https://api.github.com/repos/fruux/sabre-http/pulls{/number}","milestones_url":"https://api.github.com/repos/fruux/sabre-http/milestones{/number}","notifications_url":"https://api.github.com/repos/fruux/sabre-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fruux/sabre-http/labels{/name}","releases_url":"https://api.github.com/repos/fruux/sabre-http/releases{/id}","created_at":"2012-09-17T23:37:11Z","updated_at":"2015-12-22T13:38:32Z","pushed_at":"2016-01-04T23:24:16Z","git_url":"git://github.com/fruux/sabre-http.git","ssh_url":"git@github.com:fruux/sabre-http.git","clone_url":"https://github.com/fruux/sabre-http.git","svn_url":"https://github.com/fruux/sabre-http","homepage":"http://sabre.io","size":407,"stargazers_count":77,"watchers_count":77,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":77,"default_branch":"master"}},"base":{"label":"fruux:master","ref":"master","sha":"b96385fb426b53ce907c8c36440ca00a0029f2d4","user":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"repo":{"id":5848865,"name":"sabre-http","full_name":"fruux/sabre-http","owner":{"login":"fruux","id":1384629,"avatar_url":"https://avatars.githubusercontent.com/u/1384629?v=3","gravatar_id":"","url":"https://api.github.com/users/fruux","html_url":"https://github.com/fruux","followers_url":"https://api.github.com/users/fruux/followers","following_url":"https://api.github.com/users/fruux/following{/other_user}","gists_url":"https://api.github.com/users/fruux/gists{/gist_id}","starred_url":"https://api.github.com/users/fruux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fruux/subscriptions","organizations_url":"https://api.github.com/users/fruux/orgs","repos_url":"https://api.github.com/users/fruux/repos","events_url":"https://api.github.com/users/fruux/events{/privacy}","received_events_url":"https://api.github.com/users/fruux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fruux/sabre-http","description":":earth_africa: The sabre/http library provides utilities for dealing with http requests and responses.","fork":false,"url":"https://api.github.com/repos/fruux/sabre-http","forks_url":"https://api.github.com/repos/fruux/sabre-http/forks","keys_url":"https://api.github.com/repos/fruux/sabre-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fruux/sabre-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fruux/sabre-http/teams","hooks_url":"https://api.github.com/repos/fruux/sabre-http/hooks","issue_events_url":"https://api.github.com/repos/fruux/sabre-http/issues/events{/number}","events_url":"https://api.github.com/repos/fruux/sabre-http/events","assignees_url":"https://api.github.com/repos/fruux/sabre-http/assignees{/user}","branches_url":"https://api.github.com/repos/fruux/sabre-http/branches{/branch}","tags_url":"https://api.github.com/repos/fruux/sabre-http/tags","blobs_url":"https://api.github.com/repos/fruux/sabre-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fruux/sabre-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fruux/sabre-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/fruux/sabre-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fruux/sabre-http/statuses/{sha}","languages_url":"https://api.github.com/repos/fruux/sabre-http/languages","stargazers_url":"https://api.github.com/repos/fruux/sabre-http/stargazers","contributors_url":"https://api.github.com/repos/fruux/sabre-http/contributors","subscribers_url":"https://api.github.com/repos/fruux/sabre-http/subscribers","subscription_url":"https://api.github.com/repos/fruux/sabre-http/subscription","commits_url":"https://api.github.com/repos/fruux/sabre-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/fruux/sabre-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/fruux/sabre-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/fruux/sabre-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/fruux/sabre-http/contents/{+path}","compare_url":"https://api.github.com/repos/fruux/sabre-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fruux/sabre-http/merges","archive_url":"https://api.github.com/repos/fruux/sabre-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fruux/sabre-http/downloads","issues_url":"https://api.github.com/repos/fruux/sabre-http/issues{/number}","pulls_url":"https://api.github.com/repos/fruux/sabre-http/pulls{/number}","milestones_url":"https://api.github.com/repos/fruux/sabre-http/milestones{/number}","notifications_url":"https://api.github.com/repos/fruux/sabre-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fruux/sabre-http/labels{/name}","releases_url":"https://api.github.com/repos/fruux/sabre-http/releases{/id}","created_at":"2012-09-17T23:37:11Z","updated_at":"2015-12-22T13:38:32Z","pushed_at":"2016-01-04T23:24:16Z","git_url":"git://github.com/fruux/sabre-http.git","ssh_url":"git@github.com:fruux/sabre-http.git","clone_url":"https://github.com/fruux/sabre-http.git","svn_url":"https://github.com/fruux/sabre-http","homepage":"http://sabre.io","size":407,"stargazers_count":77,"watchers_count":77,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fruux/sabre-http/pulls/56"},"html":{"href":"https://github.com/fruux/sabre-http/pull/56"},"issue":{"href":"https://api.github.com/repos/fruux/sabre-http/issues/56"},"comments":{"href":"https://api.github.com/repos/fruux/sabre-http/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/fruux/sabre-http/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/fruux/sabre-http/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fruux/sabre-http/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/fruux/sabre-http/statuses/b0d5a03a160c41943c1b5d2756e55db67da65682"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":1,"changed_files":2}}