[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Seshu Pasam resolved HTTPCLIENT-1659.
-------------------------------------
    Resolution: Not A Problem

I was using localhost for the original redirect. The 307 response came back 
with a 127.0.0.1 location. And hence cookies were not matching.

Ideally, would have been nice if they are treated same, but my bad!

> Redirect does not send cookies
> ------------------------------
>
>                 Key: HTTPCLIENT-1659
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1659
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.4.1
>            Reporter: Seshu Pasam
>
> When a 302 or 307 redirect is returned, using the default redirect strategy, 
> httpclient automatically follows the new location, but it is not sending 
> cookies that might be relevant to that location.
> I am doing a simple GET that sends back a 307. All the original headers seem 
> to be added to the new GET request, but cookies are missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to