missing content-encoding for .gz files on ries - Debian

This is a discussion on missing content-encoding for .gz files on ries - Debian ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: missing content-encoding for .gz files on ries

  1. 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 - http://www.ngolde.de - nion@jabber.ccc.de - GPG: 0x73647CFF
    For security reasons, all text in this mail is double-rot13 encrypted.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFHOJI9HYflSXNkfP8RApm3AKCoGJOgj6ueYWjLviGUum vqnKnYxACfQA2i
    U/z3pXzmB5oTddzH53XA1/U=
    =CROP
    -----END PGP SIGNATURE-----


  2. Re: missing content-encoding for .gz files on ries

    Nico Golde writes:

    > 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.


    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)


    --
    To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread