hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject RE: HTTP/1.1 status 100 help needed
Date Wed, 17 Sep 2003 21:26:42 GMT
Oh. well, I knew it. This is a very strange quirk on the part of Jetty,
which once was reported as a bug, but Jetty folks were not too
enthusiastic to fix.

Anyways, try this:

PostMethod#setUseExpectHeader(true) 

and see if that makes any difference. If not, try disabling HTTP/1.1
support altogether:

PostMethod#setHttp11(false) 

If nothing helps, you may have to consider upgrading Jetty to its latest
stable version (4.2.12 as of writing).

Cheers

Oleg


On Wed, 2003-09-17 at 23:04, Beg, Mohsin wrote:
> Hi Oleg,
> 
> Below is my server info.
> 
> Also can you point me to some code examples as how I may
> be able to do what you suggested ?
> 
> Sincerely,
> 
> -Mohsin
> 
> 
> 2003/09/17 13:54:59:809 PDT [DEBUG] wire - -<< "Date: Wed, 17 Sep 2003
> 20:54:59 GMT[\r][\n]"
> 2003/09/17 13:54:59:813 PDT [DEBUG] wire - -<< "Server: Jetty/3.1.5 (Linux
> 2.4.18-10smp i386)[\r][\n]"
> 2003/09/17 13:54:59:814 PDT [DEBUG] wire - -<< "Servlet-Engine: Jetty/3.1
> (JSP 1.1; Servlet 2.2; java 1.4.2_01)[\r][\n]"
> 2003/09/17 13:54:59:815 PDT [DEBUG] wire - -<< "Content-Type:
> text/html;charset=UTF-8[\r][\n]"
> 2003/09/17 13:54:59:816 PDT [DEBUG] wire - -<< "Transfer-Encoding:
> chunked[\r][\n]"
> 
> 
> -----Original Message-----
> From: Oleg Kalnichevski [mailto:olegk@apache.org]
> Sent: Wednesday, September 17, 2003 11:52 AM
> To: Commons HttpClient Project
> Subject: Re: HTTP/1.1 status 100 help needed
> 
> 
> Mohsin,
> 
> Do you know what kind of HTTP server runs on the server side?
> 
> The HTTP server appears to be using the 'expect: 100-continue' handshake
> even though the client did not request it.
> 
> You may what to try the following measures:
> - activating 'expect: 100-continue' on the client side
> - using HTTP/1.0
> 
> Oleg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message