{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/Nyholm/psr7/pulls/34","id":180357762,"html_url":"https://github.com/Nyholm/psr7/pull/34","diff_url":"https://github.com/Nyholm/psr7/pull/34.diff","patch_url":"https://github.com/Nyholm/psr7/pull/34.patch","issue_url":"https://api.github.com/repos/Nyholm/psr7/issues/34","number":34,"state":"open","locked":false,"title":"Support using numeric headers","user":{"login":"iambrosi","id":297102,"avatar_url":"https://avatars0.githubusercontent.com/u/297102?v=4","gravatar_id":"","url":"https://api.github.com/users/iambrosi","html_url":"https://github.com/iambrosi","followers_url":"https://api.github.com/users/iambrosi/followers","following_url":"https://api.github.com/users/iambrosi/following{/other_user}","gists_url":"https://api.github.com/users/iambrosi/gists{/gist_id}","starred_url":"https://api.github.com/users/iambrosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambrosi/subscriptions","organizations_url":"https://api.github.com/users/iambrosi/orgs","repos_url":"https://api.github.com/users/iambrosi/repos","events_url":"https://api.github.com/users/iambrosi/events{/privacy}","received_events_url":"https://api.github.com/users/iambrosi/received_events","type":"User","site_admin":false},"body":"Support using numeric header values without having type errors. An example use case would be the usage of the `Content-Length` header, which might be set with the result of a call to `strlen`.\r\n\r\nIn fact, this is the case that caught my attention, by using the latest release of the [HWIOAuthBundle](https://github.com/hwi/HWIOAuthBundle). They [use `strlen` to set the `Content-Length` header](https://github.com/hwi/HWIOAuthBundle/blob/a45c54aed8acd2da032e7e03ae53f7e44d2a384e/OAuth/ResourceOwner/AbstractResourceOwner.php#L253) when building the request headers.\r\n\r\n","created_at":"2018-04-09T16:13:05Z","updated_at":"2018-04-09T16:13:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nyholm/psr7/pulls/34/commits","review_comments_url":"https://api.github.com/repos/Nyholm/psr7/pulls/34/comments","review_comment_url":"https://api.github.com/repos/Nyholm/psr7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nyholm/psr7/issues/34/comments","statuses_url":"https://api.github.com/repos/Nyholm/psr7/statuses/f5658f9f89e03d4bb92b674a50d2ca0264a0d577","head":{"label":"iambrosi:support-numeric-headers","ref":"support-numeric-headers","sha":"f5658f9f89e03d4bb92b674a50d2ca0264a0d577","user":{"login":"iambrosi","id":297102,"avatar_url":"https://avatars0.githubusercontent.com/u/297102?v=4","gravatar_id":"","url":"https://api.github.com/users/iambrosi","html_url":"https://github.com/iambrosi","followers_url":"https://api.github.com/users/iambrosi/followers","following_url":"https://api.github.com/users/iambrosi/following{/other_user}","gists_url":"https://api.github.com/users/iambrosi/gists{/gist_id}","starred_url":"https://api.github.com/users/iambrosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambrosi/subscriptions","organizations_url":"https://api.github.com/users/iambrosi/orgs","repos_url":"https://api.github.com/users/iambrosi/repos","events_url":"https://api.github.com/users/iambrosi/events{/privacy}","received_events_url":"https://api.github.com/users/iambrosi/received_events","type":"User","site_admin":false},"repo":{"id":128798086,"name":"psr7","full_name":"iambrosi/psr7","owner":{"login":"iambrosi","id":297102,"avatar_url":"https://avatars0.githubusercontent.com/u/297102?v=4","gravatar_id":"","url":"https://api.github.com/users/iambrosi","html_url":"https://github.com/iambrosi","followers_url":"https://api.github.com/users/iambrosi/followers","following_url":"https://api.github.com/users/iambrosi/following{/other_user}","gists_url":"https://api.github.com/users/iambrosi/gists{/gist_id}","starred_url":"https://api.github.com/users/iambrosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambrosi/subscriptions","organizations_url":"https://api.github.com/users/iambrosi/orgs","repos_url":"https://api.github.com/users/iambrosi/repos","events_url":"https://api.github.com/users/iambrosi/events{/privacy}","received_events_url":"https://api.github.com/users/iambrosi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iambrosi/psr7","description":"A super PSR-7 implementation","fork":true,"url":"https://api.github.com/repos/iambrosi/psr7","forks_url":"https://api.github.com/repos/iambrosi/psr7/forks","keys_url":"https://api.github.com/repos/iambrosi/psr7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iambrosi/psr7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iambrosi/psr7/teams","hooks_url":"https://api.github.com/repos/iambrosi/psr7/hooks","issue_events_url":"https://api.github.com/repos/iambrosi/psr7/issues/events{/number}","events_url":"https://api.github.com/repos/iambrosi/psr7/events","assignees_url":"https://api.github.com/repos/iambrosi/psr7/assignees{/user}","branches_url":"https://api.github.com/repos/iambrosi/psr7/branches{/branch}","tags_url":"https://api.github.com/repos/iambrosi/psr7/tags","blobs_url":"https://api.github.com/repos/iambrosi/psr7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iambrosi/psr7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iambrosi/psr7/git/refs{/sha}","trees_url":"https://api.github.com/repos/iambrosi/psr7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iambrosi/psr7/statuses/{sha}","languages_url":"https://api.github.com/repos/iambrosi/psr7/languages","stargazers_url":"https://api.github.com/repos/iambrosi/psr7/stargazers","contributors_url":"https://api.github.com/repos/iambrosi/psr7/contributors","subscribers_url":"https://api.github.com/repos/iambrosi/psr7/subscribers","subscription_url":"https://api.github.com/repos/iambrosi/psr7/subscription","commits_url":"https://api.github.com/repos/iambrosi/psr7/commits{/sha}","git_commits_url":"https://api.github.com/repos/iambrosi/psr7/git/commits{/sha}","comments_url":"https://api.github.com/repos/iambrosi/psr7/comments{/number}","issue_comment_url":"https://api.github.com/repos/iambrosi/psr7/issues/comments{/number}","contents_url":"https://api.github.com/repos/iambrosi/psr7/contents/{+path}","compare_url":"https://api.github.com/repos/iambrosi/psr7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iambrosi/psr7/merges","archive_url":"https://api.github.com/repos/iambrosi/psr7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iambrosi/psr7/downloads","issues_url":"https://api.github.com/repos/iambrosi/psr7/issues{/number}","pulls_url":"https://api.github.com/repos/iambrosi/psr7/pulls{/number}","milestones_url":"https://api.github.com/repos/iambrosi/psr7/milestones{/number}","notifications_url":"https://api.github.com/repos/iambrosi/psr7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iambrosi/psr7/labels{/name}","releases_url":"https://api.github.com/repos/iambrosi/psr7/releases{/id}","deployments_url":"https://api.github.com/repos/iambrosi/psr7/deployments","created_at":"2018-04-09T16:02:41Z","updated_at":"2018-04-09T16:02:43Z","pushed_at":"2018-04-09T16:08:34Z","git_url":"git://github.com/iambrosi/psr7.git","ssh_url":"git@github.com:iambrosi/psr7.git","clone_url":"https://github.com/iambrosi/psr7.git","svn_url":"https://github.com/iambrosi/psr7","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Nyholm:master","ref":"master","sha":"b27762f9a090863f51ee4164d0fd24b99662efc8","user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"repo":{"id":63238907,"name":"psr7","full_name":"Nyholm/psr7","owner":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nyholm/psr7","description":"A super PSR-7 implementation","fork":false,"url":"https://api.github.com/repos/Nyholm/psr7","forks_url":"https://api.github.com/repos/Nyholm/psr7/forks","keys_url":"https://api.github.com/repos/Nyholm/psr7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nyholm/psr7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nyholm/psr7/teams","hooks_url":"https://api.github.com/repos/Nyholm/psr7/hooks","issue_events_url":"https://api.github.com/repos/Nyholm/psr7/issues/events{/number}","events_url":"https://api.github.com/repos/Nyholm/psr7/events","assignees_url":"https://api.github.com/repos/Nyholm/psr7/assignees{/user}","branches_url":"https://api.github.com/repos/Nyholm/psr7/branches{/branch}","tags_url":"https://api.github.com/repos/Nyholm/psr7/tags","blobs_url":"https://api.github.com/repos/Nyholm/psr7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nyholm/psr7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nyholm/psr7/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nyholm/psr7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nyholm/psr7/statuses/{sha}","languages_url":"https://api.github.com/repos/Nyholm/psr7/languages","stargazers_url":"https://api.github.com/repos/Nyholm/psr7/stargazers","contributors_url":"https://api.github.com/repos/Nyholm/psr7/contributors","subscribers_url":"https://api.github.com/repos/Nyholm/psr7/subscribers","subscription_url":"https://api.github.com/repos/Nyholm/psr7/subscription","commits_url":"https://api.github.com/repos/Nyholm/psr7/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nyholm/psr7/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nyholm/psr7/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nyholm/psr7/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nyholm/psr7/contents/{+path}","compare_url":"https://api.github.com/repos/Nyholm/psr7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nyholm/psr7/merges","archive_url":"https://api.github.com/repos/Nyholm/psr7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nyholm/psr7/downloads","issues_url":"https://api.github.com/repos/Nyholm/psr7/issues{/number}","pulls_url":"https://api.github.com/repos/Nyholm/psr7/pulls{/number}","milestones_url":"https://api.github.com/repos/Nyholm/psr7/milestones{/number}","notifications_url":"https://api.github.com/repos/Nyholm/psr7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nyholm/psr7/labels{/name}","releases_url":"https://api.github.com/repos/Nyholm/psr7/releases{/id}","deployments_url":"https://api.github.com/repos/Nyholm/psr7/deployments","created_at":"2016-07-13T10:59:54Z","updated_at":"2018-04-02T12:42:12Z","pushed_at":"2018-03-29T06:05:14Z","git_url":"git://github.com/Nyholm/psr7.git","ssh_url":"git@github.com:Nyholm/psr7.git","clone_url":"https://github.com/Nyholm/psr7.git","svn_url":"https://github.com/Nyholm/psr7","homepage":null,"size":87,"stargazers_count":30,"watchers_count":30,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":2,"open_issues":5,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nyholm/psr7/pulls/34"},"html":{"href":"https://github.com/Nyholm/psr7/pull/34"},"issue":{"href":"https://api.github.com/repos/Nyholm/psr7/issues/34"},"comments":{"href":"https://api.github.com/repos/Nyholm/psr7/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/Nyholm/psr7/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/Nyholm/psr7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nyholm/psr7/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/Nyholm/psr7/statuses/f5658f9f89e03d4bb92b674a50d2ca0264a0d577"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"iambrosi"}}