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

2000-11-29 Thread Hamish Lawson
Martijn Pieters wrote: > 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. If the implication here is that the corresponding GET request could have meaningful side effects (i.e. not just changes to caches, logs or

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

2000-11-29 Thread Martijn Pieters
On Wed, Nov 29, 2000 at 12:06:23PM +0100, Stephane Bortzmeyer wrote: > On Tuesday 28 November 2000, at 21 h 18, the keyboard of Martijn Pieters > <[EMAIL PROTECTED]> wrote: > > > 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

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

2000-11-29 Thread Stephane Bortzmeyer
On Tuesday 28 November 2000, at 21 h 18, the keyboard of Martijn Pieters <[EMAIL PROTECTED]> wrote: > 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. I understand but this seems a deviation (I don't say a violat

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

2000-11-28 Thread Martijn Pieters
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? <> > Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1 Th

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

2000-11-28 Thread Stephane Bortzmeyer
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 H