-
Notifications
You must be signed in to change notification settings - Fork 3
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
Request Content Negotiation Style #38
Comments
That would be a different way of advertising then, which the |
Quoting from the current draft:
As I understand it, it does not have the semantics to convey a preference from a server to a client. On the other hand, the |
Would that preference be to indicate "these are the only profiles that work for this resource"? If not, why would a server want to indicate which profiles a client should ask for? |
That is my interpretation. Seems more realistic to me that a server lets a client know what it supports than a client asking a server for whichever profile. I wonder what the interpretation of @YoucTagh is. |
This is also my interpretation. I can add that if the server uses the same |
It just, very belatedly, occurred to me that this approach could be a way to get rid of the dependency on the A drawback I see is that the content of It also would be a very significant change ... |
What do you think of the idea to add a new subsection reflecting the new CN style Request Content Negotiation introduced in RFC 9110? This is similar to HTTP Client hints and
Vary/Allow
used in the document.Description of the CN style:
By sending an
accept-profile
header in a response, the server can influence the selection of an appropriate content for subsequent requests for a resource (i.e., to indicate a preferred profile for subsequent requests for that resource). An example of client/server interaction:Client request example:
Server response example:
The text was updated successfully, but these errors were encountered: