[Zope] [BUG] [Zserver] GET and HEAD give different MIME types
Martijn Pieters
mj@digicool.com
Tue, 28 Nov 2000 21:18:43 +0100
On Tue, Nov 28, 2000 at 10:31:18AM +0100, Stephane Bortzmeyer wrote:
>
> 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?
<<SNIP>>
> Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1
This behaviour has changed, updated if you like, since version 2.2.0b1.
See the change file:
http://www.zope.org/Products/Zope/2.2.0b1/CHANGES.txt
Note that you don't want the DTML code to be called on a HEAD request; it
may have side effects a mere tpc_abort won't roll back.
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------