missing content-encoding for .gz files on ries
Hi,
HEAD /bicyclerepair_0.9-4.2.diff.gz HTTP/1.1
Host: incoming.debian.org
HTTP/1.1 200 OK
Date: Mon, 12 Nov 2007 17:46:25 GMT
Server: Apache/2.2.3 (Debian)
Last-Modified: Mon, 12 Nov 2007 17:32:01 GMT
ETag: "243c740-f49-43ebeb5c2e640"
Accept-Ranges: bytes
Content-Length: 3913
Content-Type: application/x-gzip
Isn't there a Content-Encoding: x-gzip missing that would
cause the .diff.gz files being displayed properly in a browser?
Same on security.debian.org.
Kind regards
Nico
--
Nico Golde - [url]http://www.ngolde.de[/url] - [email]nion@jabber.ccc.de[/email] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHOJI9HYflSXNkfP8RApm3AKCoGJOgj6ueYWjLviGUumvqnKnYxACfQA2i
U/z3pXzmB5oTddzH53XA1/U=
=CROP
-----END PGP SIGNATURE-----
Re: missing content-encoding for .gz files on ries
Nico Golde <nico@ngolde.de> writes:
[color=blue]
> Hi,[/color]
[color=blue]
> HEAD /bicyclerepair_0.9-4.2.diff.gz HTTP/1.1
> Host: incoming.debian.org[/color]
[color=blue]
> HTTP/1.1 200 OK
> Date: Mon, 12 Nov 2007 17:46:25 GMT
> Server: Apache/2.2.3 (Debian)
> Last-Modified: Mon, 12 Nov 2007 17:32:01 GMT
> ETag: "243c740-f49-43ebeb5c2e640"
> Accept-Ranges: bytes
> Content-Length: 3913
> Content-Type: application/x-gzip[/color]
[color=blue]
> Isn't there a Content-Encoding: x-gzip missing that would
> cause the .diff.gz files being displayed properly in a browser?
> Same on security.debian.org.[/color]
Yes, you need to get Apache to generate:
Content-Type: text/plain (or something else reasonable)
Content-Encoding: gzip
I'm guessing that:
RemoveType .gz
AddEncoding gzip .gz
in the Apache configuration would probably fix this. I'm not sure why
this isn't the default, but at least on the systems that I recently
upgraded, I had to do that to get the behavior I wanted.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to [email]debian-devel-REQUEST@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]