hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: Opening streaming URL
Date Thu, 28 Jun 2007 14:38:51 GMT
everettm@ccs.neu.edu wrote:
> When I try and do something
> similar through HttpClient the connection is made and it then attempts the
> buffer the entire stream.

HttpClient 3.x will only buffer the stream if you call
getResponseBody() or getResponseBodyAsString().

> As a result the head.getResponseBodyAsStream() is

Why "head" as the name? A HEAD method execution will
never return a response body.

Consider providing a more detailed description
of what you are doing, and/or log output:

hope that helps,

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

View raw message