geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <>
Subject [jira] Updated: (GERONIMO-3846) cookies are not carried over when requests are redirected
Date Thu, 14 Feb 2008 00:49:07 GMT


Sangjin Lee updated GERONIMO-3846:

    Attachment: GERONIMO-3846.patch

A suggested fix.

- Cookies are really stored per name.  There can be only one cookie per name.  Therefore,
it makes sense to add cookies using their names.
- Added transferring cookies from the response to a subsequent request in case of redirects/auth

> cookies are not carried over when requests are redirected
> ---------------------------------------------------------
>                 Key: GERONIMO-3846
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: AsyncHttpClient
>    Affects Versions: 1.x
>            Reporter: Sangjin Lee
>            Priority: Minor
>         Attachments: GERONIMO-3846.patch
> When you send a request and receive a redirect response (301 or 302), the response may
contain cookies (via Set-Cookie header).  For subsequent redirect requests, these cookies
need to be sent.  Currently AHC does not send any cookies unless explicitly set by the caller.
> Two cases where this should be done are redirects and auth challenges.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message