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

Explore whether Vary: headers are needed in responses for HTTP profile #38

Open
rob-metalinkage opened this issue Jul 29, 2021 · 4 comments
Assignees

Comments

@rob-metalinkage
Copy link
Contributor

Apparently dumb caches may need some help..

https://stackoverflow.com/questions/1975416/what-is-the-function-of-the-vary-accept-http-header

indicates a Vary:Accept-profile might be a necessary (SHOULD?) part of responses. Will need careful thought and testing about the case where a redirect to a static resource is supported.

@YoucTagh
Copy link
Contributor

This will also be useful to third parties when Transparent CN style is adopted instead of Proactive CN or Reactive CN.

@rob-metalinkage
Copy link
Contributor Author

@nicholascar to check implementation impact.

@rob-metalinkage
Copy link
Contributor Author

@YoucTagh can you please comment on implementation potential if you think this is indeed useful.

@YoucTagh
Copy link
Contributor

YoucTagh commented Feb 7, 2024

In my implementation I included the accept header when negotiating in the media type dimension, or the accept-profile header when negotiating in the profile one as indicated in the IETF document.

There is this study that explored HTTP header manipulation in-the-wild. Check the usage of vary header in Figure 1.

Also, while in the previous HTTP semantics RFC i.e. 7231, the section about the vary header was in the control data section, in the new one i.e. 9110 it is part of the content negotiation fields.

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

No branches or pull requests

3 participants