commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <>
Subject Re: [httpclient] max response size
Date Tue, 17 Sep 2002 08:14:17 GMT
Your app may want to get the data as an InputStream. Then you can decide 
yourself how many bytes you want to read. There might be some issues 
with closing the connection before the end of the stream has been reached.

However this is another candidate for a configuration property.

More about Http configuration will follow...

otisg wrote:
> Is it possible to specify the max number of
> bytes to retrieve from a response?  Consider
> the case where HttpClient can fall into a
> 'crawler trap', or simply encounter a
> response with no end.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message