Mail Archives: opendos/1997/03/31/08:59:50
> I'm not sure, but I think you have to have your browser set up to handle
> the x-gzip (or x-whatever) MIME type. Otherwise, it'll display some sort
> of "unknown mime type" message and prompt for an action.
The server will not send an application/x-gzip MIME type. It will
send an x-gzip content transfer encoding, which is something
completely different.
The MIME type indicates the type of the underlying data (before it was
compressed). The transfer encoding indicates how the content was
"packaged for shipment". Thus, the *type* of the file can never be
"app/x-gzip" because that doesn't describe the content, it describes
the packaging. For most web servers, an arbitrary compressed file
(like foo.gz) would result in a default MIME type (like text/plain)
and an x-gzip encoding.
For more information on type vs encoding, the HTTP/1.0 spec (RFC-1945)
is at (among other places):
http://www.cabletron.com/support/internet/RFC/rfc1945.txt
Note: Cabletron maintains an RFC search engine in that "internet"
directory - very useful.
Sections 10.3 and 10.5 are the interesting ones, as well as 7.2.
- Raw text -