Re: MultipartPostMethod takes long time to execute

2003-06-02 Thread Martin Chan
n [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 fi

Re: MultipartPostMethod takes long time to execute

2003-06-02 Thread Martin Chan
Thanks Ortwin, I added "filePost.setUseExpectHeader(false);" and it works. Ortwin Glück wrote: Martin Chan wrote: 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

RE: MultipartPostMethod takes long time to execute

2003-06-02 Thread Kalnichevski, Oleg
ide: 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 fou

Re: MultipartPostMethod takes long time to execute

2003-06-02 Thread Ortwin Glück
Martin Chan wrote: 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 fragmen

MultipartPostMethod takes long time to execute

2003-06-02 Thread Martin Chan
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