-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Should add 'Vary: Accept-Encoding' header when compress is used #1583
Comments
I agree, I'm not sure why this isn't being done yet. Can you make a pull request? |
I'm glad to do that, will create one soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When responses are compressed, and may be compressed by different methods, responses should has 'Vary: Accept-Encoding' header so clients can get decodable content.
I think it should be such a build-in feature in the function
CompressHandlerBrotliLevel
, maybe with a config to turn it off.The text was updated successfully, but these errors were encountered: