httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Content-encoding, gzip, and all that stuff
Date Thu, 30 Apr 1998 01:22:00 GMT

It would make sense to start thinking about this.  I think this was rob
hartill's pet peeve forever :)


>Resent-Date: Wed, 29 Apr 1998 14:48:26 -0700 (PDT)
>Path: not-for-mail
>From: Eric Bina <>
>Newsgroups: netscape.public.mozilla.general
>Subject: Content-encoding, gzip, and all that stuff
>Date: Wed, 29 Apr 1998 14:48:36 -0700
>Organization: Netscape Communications
>Lines: 33
>X-Mailer: Mozilla 3.0GoldC (X11; U; IRIX 5.3 IP22)
>X-Mailing-List: <> archive/latest/6480
>Ok, so automatically unziping gzipped documents has existed in one
>form or another since Mosaic.  With http1.1 and Accept-encodings
>and Content encoding it is way past time we got this right and working.
>I would like to start a discussion, and get some people to work with
>me on this to get it right.  For starters it would be nice to get it
>working from Mozilla to Apache since we have the source to hack for
>What I would love to see working now would be if a server had both
>foo.html and foo.html.gz and you asked for foo.html with an
>Accept-encoding of gzip, the server should send you foo.html.gz with
>a mime type of text/html and content-encoding gzip.
>This doesn't happen right now, because Apache insists on sending
>foo.html if it exists.  If you just have foo.html.gz on your server
>and ask for foo.html with an Accept-encoding of gzip you get
>foo.html.gz.  But this screws the people who ask for foo.html with
>no Accept-encoding and get nothing.
>Apart from fixing that we have the issue of what to do if you clicked
>on a link for foo.html.gz.  If the link was clicked  in normal browsing
>then your browser will send an Accept-encoding of gzip.  So, should
>the server send foo.html.gz as mime text/html and content-encoding
>gzip, or should it send it as mime application/gzip with no
>content encoding?  Likewise I am assuming that if you ask for
>foo.html.gz with no Accept-encoding you will always get it as
>mime application/gzip with no content encoding.
>This is not what currently happens.
>	Eric Bina
pure chewing satisfaction                        

View raw message