{"action":"opened","issue":{"url":"https://api.github.com/repos/gianarb/log/issues/20","labels_url":"https://api.github.com/repos/gianarb/log/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/gianarb/log/issues/20/comments","events_url":"https://api.github.com/repos/gianarb/log/issues/20/events","html_url":"https://github.com/gianarb/log/issues/20","id":65564633,"number":20,"title":"Zend\\Http\\Response should treat 410 like a not found","user":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gianarb/log/labels/Http","name":"Http","color":"008000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-31T22:55:49Z","updated_at":"2015-03-31T22:55:49Z","closed_at":null,"body":"According to RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) A server has the option of returning a HTTP 410 status code when a resource is not found and moreover the server understands the resource will never return (gone).\r\n\r\nFrom a ZF perspective, it seems to me that the Response::isNotFound() method should return true in this case, and at present it does not. A 410 is a 404, with more insight into the status of the resource.\r\n\r\n"}}