hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Mizrahi" <alex.mizr...@gmail.com>
Subject partial request reading
Date Sun, 20 May 2007 10:29:40 GMT
documentation says that i must read all data returned by request.

however, i frequently need either to filter out request if
Content-Type doesn't suit me, or i need only some portion of document,
say, first 20 KiB.

i thought releaseConnection method is enough to cancel download when i
no longer need it, but it appears it continues downloading..

is there a way to cancel downloads? i could do HEAD request first, but
it is an ugly solution..

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

View raw message