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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to