-
Notifications
You must be signed in to change notification settings - Fork 137
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
Accept-Query scope #1913
Comments
|
(I wonder if it would be good to raise technical errata on accept-patch and accept-post about this) |
Accept-Patch: yes. Accept-Post: IANA points to https://www.w3.org/TR/ldp/ which mentions the expired ID https://datatracker.ietf.org/doc/draft-wilde-accept-post/ - maybe this should be resurrected. As POST is defined in the core specs, this could go there in a future revision, too (maybe open a reminder ticket over there?) |
Right now, the spec says:
The use of 'server' here implies that if a client gets a response from e.g.,
https://example.com/foothat containsAccept-Query, that client can infer that all other resources on the server support the listed media type(s).That seems like it's overstating things; other resources on the server might accept other formats, or not accept QUERY at all (indeed, most may not). Given how disruptive such a change would be (e.g., to caching), it seems like a more cautious approach is warranted.
So, I suggest specifying 'resource', not 'server', and explaining the implications in some more detail.
I'm aware that
Accept-PatchandAccept-Postboth say 'server', but I think that's more from a history of imprecision. Also, neither of those can be read to imply that the specified method is preferred in place of another (especially one as widely used as GET).The text was updated successfully, but these errors were encountered: