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

Use existing response.vary property to set vary header #2345

Closed
davidism opened this issue May 29, 2017 · 0 comments · Fixed by #2346
Closed

Use existing response.vary property to set vary header #2345

davidism opened this issue May 29, 2017 · 0 comments · Fixed by #2346
Assignees
Labels

Comments

@davidism
Copy link
Member

#2288 and #2322 added support for setting Vary: Cookie and not clobbering the existing Vary header. Unfortunately, there was already built-in support for that, we just missed it. Switch to this:

response.vary.add('Cookie')
@davidism davidism self-assigned this May 29, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant