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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:03 UTC