Re: MultipartPostMethod takes long time to execute

2003-06-02 Thread Martin Chan
Kalnichevski, Oleg wrote: >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 > Yes, and sorry that I haven't tell which version I use in the pervious email. >2.0beta1. If the problem still pers

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

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