You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Serge Knystautas <se...@lokitech.com> on 2002/01/30 20:42:12 UTC
HttpClient response size limit
Here's a simple patch I needed to fix my problems connecting to a bad webcam
webserver (which would occasionally set the Content-Length header to 138 mbs
or something ridiculously stupid and bogus like that). To the GetMethod I
added getter and setter methods for "responseSizeLimit", and then if it's
set, it will cap the expected length.
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/