hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26070] - [RFE] Allow streaming of POST methods via chunked transfer encoding.
Date Fri, 16 Jan 2004 14:44:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26070>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26070

[RFE] Allow streaming of POST methods via chunked transfer encoding.





------- Additional Comments From mohammad.rezaei@gs.com  2004-01-16 14:44 -------
The problem is I need an OutputStream and HttpClient doesn't provide one.
(HttpUrlConnection does, for example). Simply put, I'm serializing a large
object graph and I'm using ObjectOutputStream. There are 3 solutions (as pointed
out in the mailing list thread):
1) Buffer everything. As explained above, this is not a viable solution.
2) Use a PipedInputStream. That requires 2 threads for each send and frankly, is
not all that intuitive.
3) Provide access to the OutputStream; this is the implementation we went with.

Sorry if I wasn't clear.

Thanks
Moh

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message