hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <skoeh...@upb.de>
Subject Re: Does HttpClient decompress compressed HTTP transfers?
Date Tue, 18 Nov 2003 09:11:38 GMT
> It'd be rather easy to wrap the streams in a DeflaterOutputStream or an 
> InflaterInputStream.  Of course, due to limitations in Java's deflate 
> compression, one must extend DeflaterOutputStream to allow true stream 
> deflation.  The problem with the current implementation is that there is 
> no way to flush a partially deflated stream -- deflate waits until it 
> reaches an optimal spot to actually perform the deflation and do the 
> flush.

I was talking about decompression downloads. flush() would only be 
needed to compress POST or PUT requests and that may be poorly supported.

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

View raw message