{"action":"closed","number":429,"pull_request":{"url":"https://api.github.com/repos/php-fig/fig-standards/pulls/429","id":29117325,"html_url":"https://github.com/php-fig/fig-standards/pull/429","diff_url":"https://github.com/php-fig/fig-standards/pull/429.diff","patch_url":"https://github.com/php-fig/fig-standards/pull/429.patch","issue_url":"https://api.github.com/repos/php-fig/fig-standards/issues/429","number":429,"state":"closed","locked":false,"title":"[PSR-7] Reference the \"parsed body\", not \"body params\"","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"body":"Body parameters *are* the parsed body.\n\nPer conversations with @Crell, @ircmaxell, @pmjones, and several others, the body parameters are always the parsed body content; calling them out as such, and without the \"parameters\" verbiage, implies that parsing may create non-array values, which is exceptionally likely when working with API and/or non-form-encoded payloads.\n\nMoreover, the content will always be specific to the incoming request, so supporting one method representing `$_POST` and another representing parsed content is redundant and potentially confusing.\n\nFinally, considering the fact that the parsed body is an ambiguous domain, forcing an ubiquitous signature is an unnecessary and limiting constraint.\n\nHowever, the interface *does* specify that IF the request method is POST, AND the `Content-Type` is `application/x-www-form-urlencoded`, THEN the parsed body MUST be equivalent to `$_POST`.","created_at":"2015-02-11T18:50:49Z","updated_at":"2015-02-13T01:35:26Z","closed_at":"2015-02-13T01:35:26Z","merged_at":"2015-02-13T01:35:26Z","merge_commit_sha":"383014836799e92b63330631b880f3aef6ba317b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/429/commits","review_comments_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/429/comments","review_comment_url":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments/{number}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/issues/429/comments","statuses_url":"https://api.github.com/repos/php-fig/fig-standards/statuses/a717abaa5469e454a800b9157a6dc2f99dbef46f","head":{"label":"weierophinney:feature/parsed-body","ref":"feature/parsed-body","sha":"a717abaa5469e454a800b9157a6dc2f99dbef46f","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"repo":{"id":1053294,"name":"fig-standards","full_name":"weierophinney/fig-standards","owner":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weierophinney/fig-standards","description":"Standards either proposed or approved by the Framework Interop Group","fork":true,"url":"https://api.github.com/repos/weierophinney/fig-standards","forks_url":"https://api.github.com/repos/weierophinney/fig-standards/forks","keys_url":"https://api.github.com/repos/weierophinney/fig-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weierophinney/fig-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weierophinney/fig-standards/teams","hooks_url":"https://api.github.com/repos/weierophinney/fig-standards/hooks","issue_events_url":"https://api.github.com/repos/weierophinney/fig-standards/issues/events{/number}","events_url":"https://api.github.com/repos/weierophinney/fig-standards/events","assignees_url":"https://api.github.com/repos/weierophinney/fig-standards/assignees{/user}","branches_url":"https://api.github.com/repos/weierophinney/fig-standards/branches{/branch}","tags_url":"https://api.github.com/repos/weierophinney/fig-standards/tags","blobs_url":"https://api.github.com/repos/weierophinney/fig-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weierophinney/fig-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weierophinney/fig-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/weierophinney/fig-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weierophinney/fig-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/weierophinney/fig-standards/languages","stargazers_url":"https://api.github.com/repos/weierophinney/fig-standards/stargazers","contributors_url":"https://api.github.com/repos/weierophinney/fig-standards/contributors","subscribers_url":"https://api.github.com/repos/weierophinney/fig-standards/subscribers","subscription_url":"https://api.github.com/repos/weierophinney/fig-standards/subscription","commits_url":"https://api.github.com/repos/weierophinney/fig-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/weierophinney/fig-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/weierophinney/fig-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/weierophinney/fig-standards/issues/comments/{number}","contents_url":"https://api.github.com/repos/weierophinney/fig-standards/contents/{+path}","compare_url":"https://api.github.com/repos/weierophinney/fig-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weierophinney/fig-standards/merges","archive_url":"https://api.github.com/repos/weierophinney/fig-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weierophinney/fig-standards/downloads","issues_url":"https://api.github.com/repos/weierophinney/fig-standards/issues{/number}","pulls_url":"https://api.github.com/repos/weierophinney/fig-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/weierophinney/fig-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/weierophinney/fig-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weierophinney/fig-standards/labels{/name}","releases_url":"https://api.github.com/repos/weierophinney/fig-standards/releases{/id}","created_at":"2010-11-05T05:05:40Z","updated_at":"2012-12-15T22:47:46Z","pushed_at":"2015-02-11T19:06:46Z","git_url":"git://github.com/weierophinney/fig-standards.git","ssh_url":"git@github.com:weierophinney/fig-standards.git","clone_url":"https://github.com/weierophinney/fig-standards.git","svn_url":"https://github.com/weierophinney/fig-standards","homepage":"","size":1561,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"php-fig:master","ref":"master","sha":"93bafe9230b2e4ddeffac88faad34783be413b7e","user":{"login":"php-fig","id":468401,"avatar_url":"https://avatars.githubusercontent.com/u/468401?v=3","gravatar_id":"","url":"https://api.github.com/users/php-fig","html_url":"https://github.com/php-fig","followers_url":"https://api.github.com/users/php-fig/followers","following_url":"https://api.github.com/users/php-fig/following{/other_user}","gists_url":"https://api.github.com/users/php-fig/gists{/gist_id}","starred_url":"https://api.github.com/users/php-fig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-fig/subscriptions","organizations_url":"https://api.github.com/users/php-fig/orgs","repos_url":"https://api.github.com/users/php-fig/repos","events_url":"https://api.github.com/users/php-fig/events{/privacy}","received_events_url":"https://api.github.com/users/php-fig/received_events","type":"Organization","site_admin":false},"repo":{"id":1053270,"name":"fig-standards","full_name":"php-fig/fig-standards","owner":{"login":"php-fig","id":468401,"avatar_url":"https://avatars.githubusercontent.com/u/468401?v=3","gravatar_id":"","url":"https://api.github.com/users/php-fig","html_url":"https://github.com/php-fig","followers_url":"https://api.github.com/users/php-fig/followers","following_url":"https://api.github.com/users/php-fig/following{/other_user}","gists_url":"https://api.github.com/users/php-fig/gists{/gist_id}","starred_url":"https://api.github.com/users/php-fig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-fig/subscriptions","organizations_url":"https://api.github.com/users/php-fig/orgs","repos_url":"https://api.github.com/users/php-fig/repos","events_url":"https://api.github.com/users/php-fig/events{/privacy}","received_events_url":"https://api.github.com/users/php-fig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-fig/fig-standards","description":"Standards either proposed or approved by the Framework Interop Group","fork":false,"url":"https://api.github.com/repos/php-fig/fig-standards","forks_url":"https://api.github.com/repos/php-fig/fig-standards/forks","keys_url":"https://api.github.com/repos/php-fig/fig-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-fig/fig-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-fig/fig-standards/teams","hooks_url":"https://api.github.com/repos/php-fig/fig-standards/hooks","issue_events_url":"https://api.github.com/repos/php-fig/fig-standards/issues/events{/number}","events_url":"https://api.github.com/repos/php-fig/fig-standards/events","assignees_url":"https://api.github.com/repos/php-fig/fig-standards/assignees{/user}","branches_url":"https://api.github.com/repos/php-fig/fig-standards/branches{/branch}","tags_url":"https://api.github.com/repos/php-fig/fig-standards/tags","blobs_url":"https://api.github.com/repos/php-fig/fig-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-fig/fig-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-fig/fig-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-fig/fig-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-fig/fig-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/php-fig/fig-standards/languages","stargazers_url":"https://api.github.com/repos/php-fig/fig-standards/stargazers","contributors_url":"https://api.github.com/repos/php-fig/fig-standards/contributors","subscribers_url":"https://api.github.com/repos/php-fig/fig-standards/subscribers","subscription_url":"https://api.github.com/repos/php-fig/fig-standards/subscription","commits_url":"https://api.github.com/repos/php-fig/fig-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-fig/fig-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-fig/fig-standards/issues/comments/{number}","contents_url":"https://api.github.com/repos/php-fig/fig-standards/contents/{+path}","compare_url":"https://api.github.com/repos/php-fig/fig-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-fig/fig-standards/merges","archive_url":"https://api.github.com/repos/php-fig/fig-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-fig/fig-standards/downloads","issues_url":"https://api.github.com/repos/php-fig/fig-standards/issues{/number}","pulls_url":"https://api.github.com/repos/php-fig/fig-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/php-fig/fig-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/php-fig/fig-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-fig/fig-standards/labels{/name}","releases_url":"https://api.github.com/repos/php-fig/fig-standards/releases{/id}","created_at":"2010-11-05T04:44:12Z","updated_at":"2015-02-12T20:52:38Z","pushed_at":"2015-02-13T01:35:26Z","git_url":"git://github.com/php-fig/fig-standards.git","ssh_url":"git@github.com:php-fig/fig-standards.git","clone_url":"https://github.com/php-fig/fig-standards.git","svn_url":"https://github.com/php-fig/fig-standards","homepage":"http://www.php-fig.org/","size":4863,"stargazers_count":5554,"watchers_count":5554,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1323,"mirror_url":null,"open_issues_count":67,"forks":1323,"open_issues":67,"watchers":5554,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/429"},"html":{"href":"https://github.com/php-fig/fig-standards/pull/429"},"issue":{"href":"https://api.github.com/repos/php-fig/fig-standards/issues/429"},"comments":{"href":"https://api.github.com/repos/php-fig/fig-standards/issues/429/comments"},"review_comments":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/429/comments"},"review_comment":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/php-fig/fig-standards/pulls/429/commits"},"statuses":{"href":"https://api.github.com/repos/php-fig/fig-standards/statuses/a717abaa5469e454a800b9157a6dc2f99dbef46f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pmjones","id":25754,"avatar_url":"https://avatars.githubusercontent.com/u/25754?v=3","gravatar_id":"","url":"https://api.github.com/users/pmjones","html_url":"https://github.com/pmjones","followers_url":"https://api.github.com/users/pmjones/followers","following_url":"https://api.github.com/users/pmjones/following{/other_user}","gists_url":"https://api.github.com/users/pmjones/gists{/gist_id}","starred_url":"https://api.github.com/users/pmjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmjones/subscriptions","organizations_url":"https://api.github.com/users/pmjones/orgs","repos_url":"https://api.github.com/users/pmjones/repos","events_url":"https://api.github.com/users/pmjones/events{/privacy}","received_events_url":"https://api.github.com/users/pmjones/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":110,"deletions":24,"changed_files":2}}