commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Knystautas" <ser...@lokitech.com>
Subject HttpClient response size limit
Date Wed, 30 Jan 2002 19:42:12 GMT
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/

Mime
View raw message