[Zope] [BUG] [Zserver] GET and HEAD give different MIME types

Stephane Bortzmeyer stephane@sources.org
Tue, 28 Nov 2000 10:31:18 +0100


application/octet-stream is sent when I HEAD while the proper text/html is 
sent if I GET??? And I don't have the same headers at all?


ludwigV:/tmp % telnet www.sources.org 9673                  
Trying 172.19.1.1...
Connected to ludwigv.sources.org.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.0 200 OK
Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1
Date: Tue, 28 Nov 2000 09:28:50 GMT
Ms-Author-Via: DAV
Content-Type: application/octet-stream
Connection: close
Date: Tue, 28 Nov 2000 09:28:50 GMT
Connection: close
Content-Length: 1024
Last-Modified: Mon, 3 May 1999 22:50:29 GMT

Connection closed by foreign host.


ludwigV:/tmp % telnet www.sources.org 9673
Trying 172.19.1.1...
Connected to ludwigv.sources.org.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.0 200 OK
Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1
Date: Tue, 28 Nov 2000 09:29:09 GMT
Connection: close
Content-Type: text/html
Content-Length: 1297

<HTML><HEAD>