Search squid archive

Avoiding GZIP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux