[Zope-dev] minor bug in Zope content-type.

Michel Pelletier michel@digicool.com
Wed, 22 Sep 1999 09:59:44 -0400


> -----Original Message-----
> From: Terje Malmedal [mailto:tm@funcom.com]
> Sent: Wednesday, September 22, 1999 5:47 AM
> To: zope-dev@zope.org
> Subject: [Zope-dev] minor bug in Zope content-type.
> 
> 
> 
> 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:

Can you post this to the Collector?



> [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
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://www.zope.org/mailman/listinfo/zope-dev
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For non-developer, user-level issues, 
> zope@zope.org, http://www.zope.org/mailman/listinfo/zope )
>