{"action":"closed","number":7370,"pull_request":{"url":"https://api.github.com/repos/zendframework/zf2/pulls/7370","id":32040850,"html_url":"https://github.com/zendframework/zf2/pull/7370","diff_url":"https://github.com/zendframework/zf2/pull/7370.diff","patch_url":"https://github.com/zendframework/zf2/pull/7370.patch","issue_url":"https://api.github.com/repos/zendframework/zf2/issues/7370","number":7370,"state":"closed","locked":false,"title":"Add isGone to response","user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"body":"As per the discussion in zendframework/zf2#7368 this change adds a new\r\nmethod `\\Zend\\Http\\Response->isGone()` to determine if the status code is\r\na \"410 Gone\". This works exactly the same as the similar methods like\r\n`isNotFound` simply by checking the status code.\r\n\r\nThis change takes the opinion that a 410 Gone should not be included in\r\nthe `isNotFound()` method. Further discussion can be seen in the issue.","created_at":"2015-03-26T17:28:14Z","updated_at":"2015-05-17T19:54:57Z","closed_at":"2015-05-17T19:54:57Z","merged_at":null,"merge_commit_sha":"021316bfbaaacb929f912e1f872f6b774c8aafed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendframework/zf2/pulls/7370/commits","review_comments_url":"https://api.github.com/repos/zendframework/zf2/pulls/7370/comments","review_comment_url":"https://api.github.com/repos/zendframework/zf2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendframework/zf2/issues/7370/comments","statuses_url":"https://api.github.com/repos/zendframework/zf2/statuses/30d6086d862449bf50c73cc9aa2552102f91488b","head":{"label":"asgrim:add-isgone-to-response","ref":"add-isgone-to-response","sha":"30d6086d862449bf50c73cc9aa2552102f91488b","user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"repo":{"id":17744114,"name":"zf2","full_name":"asgrim/zf2","owner":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asgrim/zf2","description":"Official Zend Framework 2 git repository","fork":true,"url":"https://api.github.com/repos/asgrim/zf2","forks_url":"https://api.github.com/repos/asgrim/zf2/forks","keys_url":"https://api.github.com/repos/asgrim/zf2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asgrim/zf2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asgrim/zf2/teams","hooks_url":"https://api.github.com/repos/asgrim/zf2/hooks","issue_events_url":"https://api.github.com/repos/asgrim/zf2/issues/events{/number}","events_url":"https://api.github.com/repos/asgrim/zf2/events","assignees_url":"https://api.github.com/repos/asgrim/zf2/assignees{/user}","branches_url":"https://api.github.com/repos/asgrim/zf2/branches{/branch}","tags_url":"https://api.github.com/repos/asgrim/zf2/tags","blobs_url":"https://api.github.com/repos/asgrim/zf2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asgrim/zf2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asgrim/zf2/git/refs{/sha}","trees_url":"https://api.github.com/repos/asgrim/zf2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asgrim/zf2/statuses/{sha}","languages_url":"https://api.github.com/repos/asgrim/zf2/languages","stargazers_url":"https://api.github.com/repos/asgrim/zf2/stargazers","contributors_url":"https://api.github.com/repos/asgrim/zf2/contributors","subscribers_url":"https://api.github.com/repos/asgrim/zf2/subscribers","subscription_url":"https://api.github.com/repos/asgrim/zf2/subscription","commits_url":"https://api.github.com/repos/asgrim/zf2/commits{/sha}","git_commits_url":"https://api.github.com/repos/asgrim/zf2/git/commits{/sha}","comments_url":"https://api.github.com/repos/asgrim/zf2/comments{/number}","issue_comment_url":"https://api.github.com/repos/asgrim/zf2/issues/comments{/number}","contents_url":"https://api.github.com/repos/asgrim/zf2/contents/{+path}","compare_url":"https://api.github.com/repos/asgrim/zf2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asgrim/zf2/merges","archive_url":"https://api.github.com/repos/asgrim/zf2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asgrim/zf2/downloads","issues_url":"https://api.github.com/repos/asgrim/zf2/issues{/number}","pulls_url":"https://api.github.com/repos/asgrim/zf2/pulls{/number}","milestones_url":"https://api.github.com/repos/asgrim/zf2/milestones{/number}","notifications_url":"https://api.github.com/repos/asgrim/zf2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asgrim/zf2/labels{/name}","releases_url":"https://api.github.com/repos/asgrim/zf2/releases{/id}","created_at":"2014-03-14T11:25:28Z","updated_at":"2015-05-17T19:50:20Z","pushed_at":"2015-05-17T19:49:38Z","git_url":"git://github.com/asgrim/zf2.git","ssh_url":"git@github.com:asgrim/zf2.git","clone_url":"https://github.com/asgrim/zf2.git","svn_url":"https://github.com/asgrim/zf2","homepage":"http://framework.zend.com/","size":97383,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zendframework:develop","ref":"develop","sha":"ab8b52019eda8c1c7c6081a3dafe6b9996b77d25","user":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"repo":{"id":702550,"name":"zf2","full_name":"zendframework/zf2","owner":{"login":"zendframework","id":296074,"avatar_url":"https://avatars.githubusercontent.com/u/296074?v=3","gravatar_id":"","url":"https://api.github.com/users/zendframework","html_url":"https://github.com/zendframework","followers_url":"https://api.github.com/users/zendframework/followers","following_url":"https://api.github.com/users/zendframework/following{/other_user}","gists_url":"https://api.github.com/users/zendframework/gists{/gist_id}","starred_url":"https://api.github.com/users/zendframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendframework/subscriptions","organizations_url":"https://api.github.com/users/zendframework/orgs","repos_url":"https://api.github.com/users/zendframework/repos","events_url":"https://api.github.com/users/zendframework/events{/privacy}","received_events_url":"https://api.github.com/users/zendframework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendframework/zf2","description":"Official Zend Framework 2 git repository","fork":false,"url":"https://api.github.com/repos/zendframework/zf2","forks_url":"https://api.github.com/repos/zendframework/zf2/forks","keys_url":"https://api.github.com/repos/zendframework/zf2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendframework/zf2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendframework/zf2/teams","hooks_url":"https://api.github.com/repos/zendframework/zf2/hooks","issue_events_url":"https://api.github.com/repos/zendframework/zf2/issues/events{/number}","events_url":"https://api.github.com/repos/zendframework/zf2/events","assignees_url":"https://api.github.com/repos/zendframework/zf2/assignees{/user}","branches_url":"https://api.github.com/repos/zendframework/zf2/branches{/branch}","tags_url":"https://api.github.com/repos/zendframework/zf2/tags","blobs_url":"https://api.github.com/repos/zendframework/zf2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendframework/zf2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendframework/zf2/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendframework/zf2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendframework/zf2/statuses/{sha}","languages_url":"https://api.github.com/repos/zendframework/zf2/languages","stargazers_url":"https://api.github.com/repos/zendframework/zf2/stargazers","contributors_url":"https://api.github.com/repos/zendframework/zf2/contributors","subscribers_url":"https://api.github.com/repos/zendframework/zf2/subscribers","subscription_url":"https://api.github.com/repos/zendframework/zf2/subscription","commits_url":"https://api.github.com/repos/zendframework/zf2/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendframework/zf2/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendframework/zf2/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendframework/zf2/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendframework/zf2/contents/{+path}","compare_url":"https://api.github.com/repos/zendframework/zf2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendframework/zf2/merges","archive_url":"https://api.github.com/repos/zendframework/zf2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendframework/zf2/downloads","issues_url":"https://api.github.com/repos/zendframework/zf2/issues{/number}","pulls_url":"https://api.github.com/repos/zendframework/zf2/pulls{/number}","milestones_url":"https://api.github.com/repos/zendframework/zf2/milestones{/number}","notifications_url":"https://api.github.com/repos/zendframework/zf2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendframework/zf2/labels{/name}","releases_url":"https://api.github.com/repos/zendframework/zf2/releases{/id}","created_at":"2010-06-04T02:42:05Z","updated_at":"2015-05-17T17:25:54Z","pushed_at":"2015-05-17T15:46:29Z","git_url":"git://github.com/zendframework/zf2.git","ssh_url":"git@github.com:zendframework/zf2.git","clone_url":"https://github.com/zendframework/zf2.git","svn_url":"https://github.com/zendframework/zf2","homepage":"http://framework.zend.com/","size":234024,"stargazers_count":5153,"watchers_count":5153,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3157,"mirror_url":null,"open_issues_count":582,"forks":3157,"open_issues":582,"watchers":5153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendframework/zf2/pulls/7370"},"html":{"href":"https://github.com/zendframework/zf2/pull/7370"},"issue":{"href":"https://api.github.com/repos/zendframework/zf2/issues/7370"},"comments":{"href":"https://api.github.com/repos/zendframework/zf2/issues/7370/comments"},"review_comments":{"href":"https://api.github.com/repos/zendframework/zf2/pulls/7370/comments"},"review_comment":{"href":"https://api.github.com/repos/zendframework/zf2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendframework/zf2/pulls/7370/commits"},"statuses":{"href":"https://api.github.com/repos/zendframework/zf2/statuses/30d6086d862449bf50c73cc9aa2552102f91488b"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":2,"commits":1,"additions":51,"deletions":0,"changed_files":3}}