Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Code for Negative Acknowledgements #49

Closed
brianraymor opened this issue Oct 13, 2015 · 2 comments
Closed

Status Code for Negative Acknowledgements #49

brianraymor opened this issue Oct 13, 2015 · 2 comments

Comments

@brianraymor
Copy link

I'm separating this out from #17.

There is a 5XX status code placeholder in the design for negative acknowledgements.

@martinthomson wrote:

OK, here's the problem: there is no status code that works for this scenario.

We could try to be clever and attach different semantics to 404 and 410, or we could mint a new status code ...

We could use 418 (I'm A Teapot), but IANA still don't have it registered.

...

The 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.

@brianraymor
Copy link
Author

Discussed in Yokohama. @brianraymor to raise discussion on httpbis mailing list.

@brianraymor
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant