-
Notifications
You must be signed in to change notification settings - Fork 303
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
Consider adding Accept-Post and Accept-Put #935
Comments
Given #934 (comment), does not depend on auth status. |
Is this not already handled by the WAC-Allow: header? |
Ahh, ok, got it. |
What's the rationale for more non-standard headers when plain |
@namedgraph FYI, this issue was derived from #931 . Usually leaving some provenance helps future readers. Accept is too broad in context of OPTIONS. Not to mention that it'll probably interpreted for the OPTIONS itself. For each method, it is useful to distinguish between acceptable mimetypes. Unless a server is capable of handling the same values for each allowed method, then sure, Accept alone would be sufficient, in theory. Even then, I don't think that's a good idea. There is also no evidence that a LD server that Accepts text/html is going to take on a PATCH with text/html - just to take an example. Take my word for it ;) There is sufficient "standard" talk re Accept-Post and Accept-Patch. Accept-Put doesn't ( also mentioned in #931 (comment) ). It doesn't matter. Just implement something that's sufficiently aligned with other stuff - consider it as incubation - and then bump it up to standards given that there was some experimentation and experience. |
@csarven so in what situations should
That's quite an overhead to send with every response, don't you think? But I guess we can live with that. |
I think we should start using RDF more, so that we can have in-band semantics... :-) Perhaps a |
@namedgraph Why every response? Send only when responding to OPTIONS. |
@kjetilk not so simple. First you would need semantics of what |
AFAICT, this issue is resolved at the very least by PR: #1754 |
No description provided.
The text was updated successfully, but these errors were encountered: