hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: Echo service implementation - copying the request entity as the response
Date Tue, 03 Mar 2009 17:45:32 GMT
Hi Oleg
> The problem is that lots of HTTP agents out there (including HttpClient
> 3.x and HttpClient 4.0) can only handle request / response content
> streams sequentially. That is, they can start reading response content
> only after the request content has been fully written out.
This explains the reason clearly..
> You can try passing the input stream of the incoming request entity to
> the outgoing response entity to avoid buffering the entire message
> content in memory, but I suspect this will not work with many HTTP
> agents out there, especially for larger content entities.
many thanks

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

View raw message