Could not set "Expect 100-continue" HTTP header 
------------------------------------------------

                 Key: AXIS2-2265
                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Kate Wang


In some case, 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 do it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if 
HTTP version is 1.1, this header would be set. But in 
org.apche.commons.httpclient.methods.ExpectContinueMethod.java's 
addRequestHeaders() method, this header would be removed because 
HttpMethodParam.USE_EXPECT_CONTINUE is never set.



-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to