Hello Patrick,
I just found the code that ignores any 1xx responses in
HttpMethodBase.readResponse(HttpState, HttpConnection)
If an "Expect:" header is sent, the client will wait for the
100-continue response before sending the request body,
that's what I found first.
Are you using an older version of the client?
regards,
Roland
[EMAIL PROTECTED]
17.07.2003 11:03
Please respond to "Commons HttpClient Project"
To: "Commons HttpClient Project"
<[EMAIL PROTECTED]>
cc:
Subject: RE: Handling HTTP 1.1 status 100 responses
Hi Oleg,
the HTTP 1.1. standard allows a HTTP/1.1 100 response to be sent back to
the client if:
he accepts version 1.1,
he explicitly asked for a continue (the tipical status 100 handshake) OR
just to signal the client he is processing the request and it may take a
little longer (without any explicit continue header). I find myself in
this
second case and I cannot blame the server since he is compliant with the
standard. Is there any other way I can skip this first response without
having to re-execute the postMethod?
thanks a lot,
Patrick
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]