commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From otisg <ot...@ureach.com>
Subject Re: Re: [httpclient] max response size
Date Mon, 16 Sep 2002 13:59:30 GMT

> >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.  This would break an
> >application using HttpClient.
> >So I'm wondering if developers think that it
> >would be good to have the ability to
> >restrict the size of retrieved response to
> >some number of bytes, built into HttpClient?
> >
> I am not a committer, but I think this
functionality is not in the 
> package as yet.
> 
> I think this is a potentially useful idea,
but another way to do it is 
> with a response timeout instead of a
maximum size.  Any committers want 
> to jump in?

Response idea is a must, but it's not really
the same thing. :)

Thanks,
Otis


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

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


Mime
View raw message