On Thu, Dec 31, 2009 at 06:30:05PM -0500, Ricky Zhou wrote:
On 2009-12-31 06:25:05 PM, Ricky Zhou wrote:
> wget --header="Accept-Encoding: gzip"
>
https://fedoraproject.org/static/checksums/Fedora-12-i386-CHECKSUM
Looking a bit more into this, I found
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150766, which says that
wget does not support Content-Encoding: gzip, which is an HTTP 1.1
feature. Can you give me the output of:
wget -d
https://fedoraproject.org/static/checksums/Fedora-12-i386-CHECKSUM
I should kick my butt - have completely forgotten that I set user agent and other headers
in .wgetrc to emulate dillo, which did accept gzip encoding.
There is probably nothing you could do to help users like this, not even sure it
is worth considering this as wget bug.
Happy New Year
I'm curious to see if Accept-Encoding: gzip is being sent or
Content-Encoding: gzip is coming back.
both
---request begin---
GET /static/checksums/Fedora-12-i386-CHECKSUM HTTP/1.0
User-Agent: Dillo/0.8.4-i18n-misc
Accept: */*
Host:
fedoraproject.org
Connection: Keep-Alive
Accept-Encoding: gzip
Accept-Charset: utf-8,ISO-8859-1,ISO-8859-2,ISO-8859-9,ISO-8859-15
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Fri, 01 Jan 2010 17:27:32 GMT
Server: Apache/2.2.3 (Red Hat)
Last-Modified: Fri, 01 Jan 2010 17:04:43 GMT
Accept-Ranges: bytes
Cache-Control: max-age=604800
Expires: Fri, 08 Jan 2010 17:27:32 GMT
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
ProxyTime: D=728
ProxyServer:
proxy3.fedoraproject.org
Content-Length: 1078
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Content-Type: text/plain; charset=utf-8
---response end---
200 OK
Registered socket 3 for persistent reuse.