Executing the following:
rod@clunky ~ $ http_proxy=http://localhost:8501/ curl http://groovymother.com/index.html
returns a file which is the gzipped contents of the requested file. It probably shouldn't return this unless the original request headers specify "Accept Encoding: gzip".
Here are the packet dumps:
Request headers:
####
T 127.0.0.1:35736 -> 127.0.0.1:8501 [AP]
GET http://groovymother.com/index.html HTTP/1.1..User-Agent: curl/7.14.0 (i
686-pc-linux-gnu) libcurl/7.14.0 GnuTLS/1.2.4 zlib/1.2.3 libidn/0.5.18..Hos
t: groovymother.com..Pragma: no-cache..Accept: */*..Proxy-Connection: Keep-
Alive....
Response headers:
T 127.0.0.1:8501 -> 127.0.0.1:35736 [AP]
HTTP/1.1 200 OK..Content-Encoding: gzip..Content-Length: 15642..ETag: "1295
-d7eb-68e7a880"..Date: Thu, 13 Oct 2005 03:36:28 GMT..Accept-Ranges: bytes.
.Server: Apache/2.0.54 (Unix) mod_ssl/2.0.54 OpenSSL/0.9.7e DAV/2 PHP/4.4.0
SVN/1.2.3 mod_loadavg/0.1..Content-Type: text/html..Last-Modified: Thu, 13
Oct 2005 01:10:42 GMT..Vary: Accept-Encoding..X-FeedTree-Proxy: true..Conn
ection: close....