T
Toby A Inkster
[http://porjes.haxorz.org/one.x.y.z...html]
No, the server is sending a MIME type (text/html), but it is also sending
a Content-Encoding of 'x-compress', which is patently untrue. This is
because of the '.z' extension (although Apache can be configured to ignore
such silliness).
The full HTTP header:
[tai@ophelia (pts/1) ~]$ lynx -dump -head http://porjes.haxorz.org/one.x.y.z...html
HTTP/1.1 200 OK
Date: Sun, 03 Aug 2003 23:57:40 GMT
Server: Apache
Accept-Ranges: bytes
Content-Length: 190
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Content-Encoding: x-compress
You see, Lynx is behaving correctly -- the server claims that the file is
compressed, so Lynx attempts to decompress it.
'nuther Bob said:It appears that the server is not sending any MIME header at all.
Perhaps it has issues with determining the file type of the multi-dot
extension. That would confuse some browsers.
No, the server is sending a MIME type (text/html), but it is also sending
a Content-Encoding of 'x-compress', which is patently untrue. This is
because of the '.z' extension (although Apache can be configured to ignore
such silliness).
The full HTTP header:
[tai@ophelia (pts/1) ~]$ lynx -dump -head http://porjes.haxorz.org/one.x.y.z...html
HTTP/1.1 200 OK
Date: Sun, 03 Aug 2003 23:57:40 GMT
Server: Apache
Accept-Ranges: bytes
Content-Length: 190
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Content-Encoding: x-compress
You see, Lynx is behaving correctly -- the server claims that the file is
compressed, so Lynx attempts to decompress it.