{"action":"created","issue":{"url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/49","labels_url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/49/comments","events_url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/49/events","html_url":"https://github.com/webpush-wg/webpush-protocol/issues/49","id":111293144,"number":49,"title":"Status Code for Negative Acknowledgements","user":{"login":"brianraymor","id":3644743,"avatar_url":"https://avatars.githubusercontent.com/u/3644743?v=3","gravatar_id":"","url":"https://api.github.com/users/brianraymor","html_url":"https://github.com/brianraymor","followers_url":"https://api.github.com/users/brianraymor/followers","following_url":"https://api.github.com/users/brianraymor/following{/other_user}","gists_url":"https://api.github.com/users/brianraymor/gists{/gist_id}","starred_url":"https://api.github.com/users/brianraymor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianraymor/subscriptions","organizations_url":"https://api.github.com/users/brianraymor/orgs","repos_url":"https://api.github.com/users/brianraymor/repos","events_url":"https://api.github.com/users/brianraymor/events{/privacy}","received_events_url":"https://api.github.com/users/brianraymor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpush-wg/webpush-protocol/labels/acknowledgements","name":"acknowledgements","color":"fbca04"},{"url":"https://api.github.com/repos/webpush-wg/webpush-protocol/labels/design","name":"design","color":"0052cc"},{"url":"https://api.github.com/repos/webpush-wg/webpush-protocol/labels/has-proposal","name":"has-proposal","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"brianraymor","id":3644743,"avatar_url":"https://avatars.githubusercontent.com/u/3644743?v=3","gravatar_id":"","url":"https://api.github.com/users/brianraymor","html_url":"https://github.com/brianraymor","followers_url":"https://api.github.com/users/brianraymor/followers","following_url":"https://api.github.com/users/brianraymor/following{/other_user}","gists_url":"https://api.github.com/users/brianraymor/gists{/gist_id}","starred_url":"https://api.github.com/users/brianraymor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianraymor/subscriptions","organizations_url":"https://api.github.com/users/brianraymor/orgs","repos_url":"https://api.github.com/users/brianraymor/repos","events_url":"https://api.github.com/users/brianraymor/events{/privacy}","received_events_url":"https://api.github.com/users/brianraymor/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-13T23:34:01Z","updated_at":"2015-11-10T23:57:53Z","closed_at":null,"body":"I'm separating this out from #17.\r\n\r\nThere is a 5XX status code placeholder in the design for negative acknowledgements. \r\n\r\n@martinthomson wrote:\r\n\r\nOK, here's the problem: there is no status code that works for this scenario.\r\n\r\nWe could try to be clever and attach different semantics to 404 and 410, or we could mint a new status code ...\r\n\r\nWe could use 418 (I'm A Teapot), but IANA still don't have it registered.\r\n\r\n...\r\n\r\nThe server (the push service in this case) is not acting as a gateway or proxy. It is the authority for the resource, so using 504 would be nonsensical. A status code for \"the contents of the resource expired\" are more appropriate."},"comment":{"url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/comments/155606866","html_url":"https://github.com/webpush-wg/webpush-protocol/issues/49#issuecomment-155606866","issue_url":"https://api.github.com/repos/webpush-wg/webpush-protocol/issues/49","id":155606866,"user":{"login":"brianraymor","id":3644743,"avatar_url":"https://avatars.githubusercontent.com/u/3644743?v=3","gravatar_id":"","url":"https://api.github.com/users/brianraymor","html_url":"https://github.com/brianraymor","followers_url":"https://api.github.com/users/brianraymor/followers","following_url":"https://api.github.com/users/brianraymor/following{/other_user}","gists_url":"https://api.github.com/users/brianraymor/gists{/gist_id}","starred_url":"https://api.github.com/users/brianraymor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianraymor/subscriptions","organizations_url":"https://api.github.com/users/brianraymor/orgs","repos_url":"https://api.github.com/users/brianraymor/repos","events_url":"https://api.github.com/users/brianraymor/events{/privacy}","received_events_url":"https://api.github.com/users/brianraymor/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T23:57:53Z","updated_at":"2015-11-10T23:57:53Z","body":"@darshakthakore suggested a variation based on:\r\n[*Expect header and a corresponding 417 – Expectation Failed status code*](https://tools.ietf.org/html/rfc7231#section-5.1.1)"}}