Why is the mailing-list manager always removing some text attachments ??? I've also senn this problem on other mailing-list from jakarta... Is it cause of the size ??
I don't get it, my Outlook is set to send mail in "brut text" mode, not in html... Cause here Simon I don't see no log attached :( But reading what you say, it looks like we have the same issue : time out waiting for response. Do you then have the Exception "Can't find line starting with HTTP/" ?? Aurelien Simon Roberts a écrit : > Attached is a log of my application (log4j, with most of the > HttpConnection.isResponseAvaliable messages removed) > > BTW: typo in method name > > The interesting bit is that it times out (3 seconds) rather than > getting the 100-continue response. Then, after it has send the body, > the 100-continue response is received and returned (which is what is > actually causing my problem). The server is a current release > version of Jetty http://jetty.mortbay.org/jetty/ which appears to be > working perfectly in all other regards. > > I get the same problem with HTTP PUT. > > Adding > > method.setUseExpectHeader(false); > > seems to fix it. > > Cheers, Simon > > > ----- Original Message ----- > From: "Oleg Kalnichevski" <[EMAIL PROTECTED]> > To: "Commons HttpClient Project" > <[EMAIL PROTECTED]> > Cc: "Simon Roberts" <[EMAIL PROTECTED]> > Sent: Tuesday, February 25, 2003 10:18 PM > Subject: Re: HTTP Post and HTTP/100 (continue) > > >> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]