RE: Streaming requests

2004-03-04 Thread Rezaei, Mohammad A.
Please take a look at: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26070 The code attached to that bug report has been thoroughly tested and does provide you with an OutputStream. Implement OutputStreamWriter and simply write to the provided OutputStream. Do not close the stream. Thanks

Re: Streaming requests

2004-03-03 Thread Michael Becke
Hi David, In the case of the piped streams you need to do the reading and writing from separate threads. This is to avoid the exact case that you are seeing, and I believe it is documented in Sun's javadocs. Any other solution will require changing the PostMethod API as discussed, or