hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francois-Xavier Bonnet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1190) "Vary: Cookie" header not working
Date Thu, 10 May 2012 23:02:48 GMT
Francois-Xavier Bonnet created HTTPCLIENT-1190:

             Summary: "Vary: Cookie" header not working
                 Key: HTTPCLIENT-1190
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1190
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: Cache
    Affects Versions: 4.1.3, Snapshot
            Reporter: Francois-Xavier Bonnet

When using a CachingHttpClient with a target server that uses a cookie and "Vary: Cookie"
header in order to have different variants depending on the value of the cookie, there is
only one variant stored in the cache and sent whatever the value of the cookie.
The problems comes from the cookie header that does not really exist in the request, it is
just created by the HttpClient while executing the request. As a result the variant key is
always "{cookie=}".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message