[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607265#comment-13607265
 ] 

Francois-Xavier Bonnet commented on HTTPCLIENT-1190:
----------------------------------------------------

I have just tested with the latest trunk: problem solved.
Thanks for your help.
                
> "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
>             Fix For: 4.3 Alpha1
>
>
> 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
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