GZIP Compression Test


Note: This MIME type is starting to go through the RFC process now. Previously, by convention, it was used under the applicaion type, as application/x-gzip and when it was released, it was expected to be application/gzipped but present practice is to instead use the MIME encoding field such that the base data type is preserved. Not all web browsers support this encoding field yet. The type that is presently being used is encoding/x-gzip.


This is a test document . Once you get it and it is (automatically) uncompressed, you should have a simple text phrase.

The phrase may not automatically appear however, it depends on your browser. You may need to update to a later version of your browser for this to work. If you can not uncompress it, you need to install an uncompressor:


Note to server authors: For those wishing to serve gzip'd files, note these comments from Brian Behlendorf:

    This is still a little ``predictive'' but I think this is the way it should be.

    If you are putting up compressed files on your web site you need to add a Content-Encoding line which tells the browser to uncompress it. Using the Free Software Foundation's GNU zip tools seems like the only viable cross platform option.

    For Apache and NCSA's httpd, add the following line to srm.conf (usually /usr/local/etc/httpd/conf/srm.conf) , and any file like *.wrl.gz will be properly labeled with Content-encoding: x-gzip

      AddEncoding     x-gzip  gz

    For CERN, it is just a little different... (in httpd.conf)

      AddEncoding     .gz     x-gzip


Thanks go to Roman Czyborra (czyborra@cs.tu-berlin.de) for his efforts in getting this type registered.




Return to the Viewer Test Page

If you have questions about this page, contact:
Scott D. Nelson, nelson18@llnl.gov


Last Modified: Apr 21, 1996

LLNL Disclaimer
Administrative Document