axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl (JIRA)" <>
Subject [jira] Resolved: (AXIS-2064) The format of multi-cookie in HTTP request head.
Date Mon, 26 Feb 2007 19:44:06 GMT


Tom Jordahl resolved AXIS-2064.

       Resolution: Fixed
    Fix Version/s: current (nightly)

Fix in SVN head of Axis 1.x tree, revision r511966.

> The format of multi-cookie in HTTP request head.
> ------------------------------------------------
>                 Key: AXIS-2064
>                 URL:
>             Project: Axis
>          Issue Type: Improvement
>          Components: Basic Architecture
>    Affects Versions: 1.2.1, 1.3, 1.4
>         Environment: Any platform
>            Reporter: Gerry Gao
>            Priority: Blocker
>             Fix For: current (nightly)
> In Axis 1.2.1, the HTTPSender and CommonsHTTPSender are sending multiple cookies for
the default format (multiple cookie headers):
>     Cookie: a=a1
>     Cookie: b=b2
>     Cookie: c=c3
> or
>     Cookie2: a=a1
>     Cookie2: b=b2
>     Cookie2: c=c3
> According to RFC2965, the multiple cookies should be baked with format (single cookie
>     Cookie: a=a1;b=b2;c=c3
> But in fact, most HTTP server supports the multiple cookie headers format. 
> The CommonsHTTPSender employs commons-httpclient which already supports switch between
the formats with a parameter like:
>     DefaultHttpParams.getDefaultParams().setBooleanParameter(
>        HttpMethodParams.SINGLE_COOKIE_HEADER,
>        true);
> (Reference:
> But the HTTPSender doesn't support this kind of switch.
> The suggestion is that Axis can add the feature of customizing the cookies' format and
provide a parameter for wsdl2java or just provide a public method in Stub to let the user
designate whihc cookie format should be used. Then make HTTPSender and CommonsHTTPSender (commons-httpclient)
be aware of this parameter.
> Gerry

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message