Simon
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:

http://jakarta.apache.org/commons/httpclient/logging.html

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

PostMethod myhttppost = new PostMethod();
myhttppost.setUseExpectHeader(false);

Cheers

Oleg


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to