Skip to content

Conversation

@afarber
Copy link
Contributor

@afarber afarber commented Jan 13, 2026

Fixes #14138

  • Move Vary header addition outside the compression check in CompressionHandler
  • Add testVaryHeaderWithoutAcceptEncoding test to verify Vary is present without Accept-Encoding
  • Add testNoVaryHeaderForExcludedMethod test to verify Vary is absent for excluded methods

@afarber afarber force-pushed the 14138-vary-accept-encoding branch from 4a2c8fe to 408e8c2 Compare January 17, 2026 13:35
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

Successfully merging this pull request may close these issues.

The Vary: Accept-Encoding response header should always be produced if the request goes through the CompressionHandler

1 participant