Bug 48660 - Connector compression=on overwrites Vary header
Connector compression=on overwrites Vary header
Product: Tomcat 6
Classification: Unclassified
Component: Connectors
PC Mac OS X 10.4
: P2 normal (vote)
: default
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2010-02-02 13:40 UTC by matthewb
Modified: 2010-03-05 09:25 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description matthewb 2010-02-02 13:40:54 UTC
When compressing the connector sets the "Vary: Accept-Encoding".  I think it would be more correct to append "Accept-Encoding" the the current value of the Vary header instead of replacing it. 

In particular, I cannot set this header to "Cookie" to force reload of the page if the JSESSIONID cookie changes
Comment 1 Mark Thomas 2010-02-07 18:33:58 UTC
This has been fixed in trunk and proposed for 6.0.x
Comment 2 Mark Thomas 2010-03-05 09:25:41 UTC
This has been fixed in 6.0.x and will be in 6.0.26 onwards.