W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2001

Re: Content-Encoding: deflate - is this zlib file format?

From: Fritz Schneider <fritz@cs.ucsd.edu>
Date: Fri, 7 Sep 2001 15:25:41 -0700 (PDT)
To: Daniel Barron <openbsd@jadeb.com>
cc: <www-talk@w3.org>
Message-ID: <Pine.GSO.4.33.0109071522520.28308-100000@beowulf.ucsd.edu>
On Fri, 7 Sep 2001, Daniel Barron wrote:

> I'm writing a filtering web proxy (see sig) and I'm having trouble with
> 'Content-Encoding: deflate' compressed data.  I need to decompress it to
> check the content.
>
> When it says 'Content-Encoding: gzip', I can just read from the socket as
> if I were reading a gzip file from the filesystem and pass it through the
> gzip decompression included in zlib.
> [snip]

	It seems to me that an easier solution might be to have your proxy
send an "Accept-Encoding" HTTP header to the server in order to disallow
compressed data...

-- fritz
Received on Friday, 7 September 2001 18:25:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT