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

Scope of applicability for HTTP extensions #265

Closed
martinthomson opened this issue Nov 18, 2019 · 2 comments · Fixed by #342
Closed

Scope of applicability for HTTP extensions #265

martinthomson opened this issue Nov 18, 2019 · 2 comments · Fixed by #342

Comments

@martinthomson
Copy link
Contributor

When defining new header fields or methods or any other extensions to HTTP, it can be the case that those elements make statements where the scope is unclear. For instance, in #99 we learned that Retry-After often states something that applies to an entire server (or server instance), or maybe a subset of resources, or maybe just the request itself. HTTP generally assumes that the scope of applicability is a request, but it might also be the specific representation or the resource.

New protocol extensions need to consider carefully what the scope of applicability is for new protocol elements and the information they carry. Adding text about this to the document (to expand #50) would be good.

@MikeBishop
Copy link
Contributor

As another example, the HTTP_1_1_REQUIRED error code in HTTP/2 only makes a definitive statement about the resource, but most implementations I'm aware of treat it as a statement about the origin, albeit not a long-lasting one, in order to avoid a potential latency penalty on every future request.

@mnot mnot self-assigned this Feb 2, 2020
@mnot
Copy link
Member

mnot commented Mar 20, 2020

I think this is some text in each of the "Considerations for..." sections. Will do a PR.

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

Successfully merging a pull request may close this issue.

3 participants