hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o.kalnichev...@dplanet.ch>
Subject Re: HTTP Post and HTTP/100 (continue)
Date Tue, 25 Feb 2003 09:18:45 GMT
I'd really appreciate it if you could send us the debug trace for
analysis. Please refer to the following url for instructions on how wire
log can be activated:


Your problem should be easily solvable by disabling "100-continue"

PostMethod myhttppost = new PostMethod();



On Tue, 2003-02-25 at 00:29, Simon Roberts wrote:
> Gidday,
> This is probably a dumb-user question, but if it is, then it might need to
> be documented for other dumb users :)
> I just checked out the latest CVS HttpClient and tried it with my
> application (it's using HEAD from a month or two ago), and am having a
> problem.
> Our app does HTTP POST (to a Jetty server, as it happens). Previously,
> httpclient used to just push the request header and body along in one lump,
> and when the server posted a http-100 (continue) status, it used to complain
> about "continue received, but body already sent".  Anyway, it used to work
> okay for us...
> Now, the httpClient.execute(method) returns 100, and there is no response
> (body) from the server, so my app barfs.
> The question is, how do I make httpclient send the body of the request?
> (maybe after I get the 100 back).
> Cheers, thanks, Simon
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message