Martin, I suppose you are running HttpClient 2.0alpha3 which is known to have a few issues with 'expect: 100-continue' handshake. Please upgrade to 2.0beta1. If the problem still persists after the upgrade, please follow the instructions of the trouble shooting guide:
http://jakarta.apache.org/commons/httpclient/troubleshooting.html Oleg -----Original Message----- From: Martin Chan [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 09:02 To: [EMAIL PROTECTED] Subject: MultipartPostMethod takes long time to execute Hi, I use MultipartPostMethod to do upload, but I found that it takes 3-4 seconds to execute even for a very small file (<1KB). int status = httpClient.executeMethod(filePost); Does anyone have the same problem? How to improve the speed? I also found that the HttpClient fragment the post method to many packets, each with a few adte byte in content. Can we change it? Thanks, Martin Chan --------------------------------------------------------------------- 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]
