Bug 48660

Summary: Connector compression=on overwrites Vary header
Product: Tomcat 6 Reporter: matthewb
Component: ConnectorsAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: default   
Hardware: PC   
OS: Mac OS X 10.4   

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.