Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 80580 - gzip is an encoding, not a type
gzip is an encoding, not a type
Product: Red Hat Linux
Classification: Retired
Component: mailcap (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-12-28 04:06 EST by Kenneth Porter
Modified: 2014-03-16 22:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-07 16:17:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kenneth Porter 2002-12-28 04:06:50 EST
/etc/mime.types includes the assocation of application/x-gzip to .gz files. This
causes Apache httpd to always send that MIME type with any file with that
extension. Instead, it should send the type of the root name with the .gz
stripped, and send a Content-encoding of gzip. (It does do the latter part.)

To illustrate, create an HTML file and gzip it, for instance test.html.gz. Then
attempt to serve it with a stock installation. Mozilla will offer to save the
resulting file of type "application/x-gzip" instead of displaying the HTML.
Remove the matching line from /etc/mime.types, restart httpd, and the file
displays correctly.
Comment 1 Bill Nottingham 2003-02-07 16:17:31 EST
Hm, I think this is more of a site preference; I know of many sites that don't
want to start having tar.gz/tar.bz2 uncompressed on the fly by web browsers.

Note You need to log in before you can comment on or make changes to this bug.