Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.3
-
None
Description
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 "
".