Comment 2 for bug 173096

Revision history for this message
James Henstridge (jamesh) wrote :

We've confirmed that there is an "AddEncoding x-gzip gz tgz" directive in the configuration of the apache frontend for the librarian.

As the Ubuntu developers find it useful for the build logs to have "Content-encoding: gzip", removing it outright probably isn't the best idea. The best short term solution is probably to change it to "AddEncoding x-gzip .txt.gz", which should match the build logs but not .tar.gz downloads.

The long term solution is:
 1. store the correct Content-Encoding for library files when creating them
 2. fix up all the stored build logs to say that they are gzipped
 3. fix the librarian to send the correct content encoding
 4. fix Apache to nevert add a Content-Encoding header