[Zope-dev] minor bug in Zope content-type.
Terje Malmedal
tm@funcom.com
Wed, 22 Sep 1999 11:47:20 +0200
When I send a HEAD command to a Zope server it responds with a
different Content-Type than when I give it a GET command, www.zope.org
has the same problem:
[root@cornavin /root]# telnet www.zope.org 80
Trying 209.67.167.110...
Connected to zope.org.
Escape character is '^]'.
HEAD / HTTP1.1
HTTP/1.1 200 OK
Date: Wed, 22 Sep 1999 09:14:46 GMT
Server: Apache/1.3.4 (Unix)
Connection: close
Ms-Author-Via: DAV
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 5359
Last-Modified: Mon, 13 Sep 1999 19:51:53 GMT
Content-Type: application/octet-stream
the GET command gives me text/html which is correct.
I used to get application/octet-stream on GET commands as well when I
had a <!DOCTYPE > thingy in the beginning of the document, but it
seems to have been fixed when I upgraded to version 2.0.1
--
- Terje
tm@funcom.com