Hi Roland,

that is the case indeed. I am using version 1.6. Do you know if, in case
the response 100 is ignored, it will still give status code 100 back to my
implementation when I do postMethod.getStatusCode()? If it is the case, it
would rather a matter of ignoring that and reading the response! Otherwise,
should I consider upgrading my HTTPclient version?

regards,

Patrick

--------------------------------------------------------------
Patrick Baeyens
Accenture
Koningsstraat - 145 - Rue Royale
B-1000 Brussels
Belgium
Phone: +32 2 2267128
Mobile: +32 477 597128
Fax: +32 2 2256128
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------


                                                                                       
                                                
              "Roland Weber"                                                           
                                                
              <[EMAIL PROTECTED]>            To:      "Commons HttpClient Project" 
<[EMAIL PROTECTED]>       
                                               cc:                                     
                                                
              17/07/2003 11:09                 Subject: RE: Handling HTTP 1.1 status 
100 responses                                     
              Please respond to                                                        
                                                
              "Commons HttpClient                                                      
                                                
              Project"                                                                 
                                                
                                                                                       
                                                
                                                                                       
                                                



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]







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]

Reply via email to