Hi,
> I received this bug report from a debian user.
> It seems like a valid problem.
> On Fri 14 Sep 2001, Kalle Olavi Niemitalo wrote:
> :
> : I've set reply-compressed-data=yes in the Options section of
> : wwwoffle.conf. This should make WWWOFFLE send compressed data
> : to the client if the client supports that. So it does, but
> : it can send the data in an encoding that the client doesn't
> : support:
> :
> : kalle@Astalo:~$ nc localhost 8080
> : GET /not-there HTTP/1.0
> : Accept-Encoding: gzip
> :
> : HTTP/1.0 404 WWWOFFLE Page Not Found
> : Server: WWWOFFLE/2.6d
> : Date: Fri, 14 Sep 2001 16:38:54 GMT
> : Content-type: text/html
> : Connection: close
> : Content-Encoding: x-gzip
> : Proxy-Connection: close
> :
> : [binary drivel omitted]
> :
> : I asked for the "gzip" encoding, but WWWOFFLE replied with an
> : "x-gzip" encoding. Those may be the same format but you cannot
> : expect the client to know that.
According to RFC2616 (HTTP/1.1) you SHOULD expect the client to know
that.
-------------------- RFC 2616 --------------------
Use of program names for the identification of encoding formats
is not desirable and is discouraged for future encodings. Their
use here is representative of historical practice, not good
design. For compatibility with previous implementations of HTTP,
applications SHOULD consider "x-gzip" and "x-compress" to be
equivalent to "gzip" and "compress" respectively.
-------------------- RFC 2616 --------------------
I suggest that it is a bug with the client and not with the proxy. A
bug report should be raised with the browser producer.
> : Indeed, MS Internet Explorer
> : version 5.00.2614.3500 asks for "Accept-Encoding: gzip, deflate"
> : and cannot parse the body with "Content-Encoding: x-gzip".
Not much hope of Microsoft *ever* following RFCs or standards is
there.
> : Please change WWWOFFLE so that it remembers whether the client
> : asked for "gzip" or "x-gzip", and uses the same name in the
> : response.
WWWOFFLE is compliant with the RFC, the browser is not; where is the
problem?
I should take a stand on this and refuse to make the change.
But if I did that I would just lose more WWWOFFLE users and add
another reason that they don't try and use the Win32 version.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.6/user.html