[squid-users] Avoiding GZIP

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Sat, 27 Feb 2010 11:03:22 -0600

Well, every ones talks about gziping but no one about ungziping.

Thanx to ICAP server (look for c-icap) we are loggin http payload for
specifique pages for some users. However we realize that most text/* (mime-
type) payload is gzipped and it is unreadable, administrative work to unzip
that is high, how ever possible.

As my rainstorming at night, i'd like to know if this techinique i'm going to
write will avoid gzip and make trafique as plain.

First, basics (please correct me if i misunderstood). According RFC 2616
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html), point 3.5 there are 3
encodings possible:
1. gzip: gzip compress
2. compress: compress utility
3. identity: no compression. This may be in Accept-encodding headder (request)
but Encoding (response) (see RFC 2616 14.3)

So i was thinking on repleazing every "Accept-encodding" headder by "Accept-
encoding:
Accept-Encoding: gzip;q=0, compress;q=0, identity; q=0.5, *;q=0

by this instruction

header_replace Accept-Encoding gzip;q=0, compress;q=0, identity; q=0.5, *;q=0

however i dont know if data should be in quotes or escaped. Please argue if
you are not agree.

LD
Received on Sun Feb 28 2010 - 02:20:03 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 28 2010 - 12:00:06 MST