-
Notifications
You must be signed in to change notification settings - Fork 47
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
Proposal: Accept-Put header for supported representations for PUT requests #200
Comments
I am generally supportive of this proposal. One thing to clarify would be how to represent both RDF formats and non-RDF formats. If a server supports arbitrary binary formats (e.g. LDP-NR), what would this header look like? Would a header such as: mean that |
Ack #43 . The proposed text in #201 is based off A "smart" client can make some decisions based on other information in the spec. For instance, it is probably worthwhile for a client to not bother to check In
clients could deduce that this is probably a resource that's best represented as a RDF graph, so image/jpeg is likely to be rejected if requested. Servers can of course use wildcards and subtypes. And yes, I'm not sure why
Any potential security concerns that escapes me? |
Noting here that although #201 is now merged, I've followed up on the above with @acoburn to make sure that this issue is adequately addressed and no major oversights for the time being. I'm quoting Aaron from a conversation for the record in case it is helpful to future readers which resolves the
|
The set of accepted representations of a resource can differ, independent of the HTTP request method when creating or updating resources.
As there is
Accept-Patch
andAccept-Post
headers to set supported representations for PATCH and POST requests, the intention for theAccept-Put
header is to advertise the supported representations for PUT requests.The
Accept-Put
header was initially and casually mentioned in #195 (comment) and with some support in #195 (comment) .The text was updated successfully, but these errors were encountered: