axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya (JIRA)" <>
Subject [jira] Resolved: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header
Date Mon, 11 Aug 2008 15:35:44 GMT


Nandana Mihindukulasooriya resolved AXIS2-2265.

    Resolution: Fixed

Fixed in revision: 684778. Now this can be done using a HttpMethodParams instance which can
be passed to the Commons HttpClient using the code given below.

ServiceClient sc = ....
HttpMethodParams params = new HttpMethodParams();
params.setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, true);


> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>                 Key: AXIS2-2265
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>            Assignee: Saminda Wishwajith Abeyruwan
> I need to set "Expect 100-continue" http header, but I could not find a way to do it
in axis2. I tried to add it as a custom header, but it would not work. After I examine the
code more carefully, it seems to me that it is not possible to add it.
> In, at line 105,  if HTTP version
is 1.1, this header would be set. But in's
addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE
is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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