Bug 48660 - Connector compression=on overwrites Vary header
Summary: Connector compression=on overwrites Vary header
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Connectors (show other bugs)
Version: unspecified
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 13:40 UTC by matthewb
Modified: 2010-03-05 09:25 UTC (History)
0 users



Attachments

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.