[Zope] [BUG] [Zserver] GET and HEAD give different MIME types
Hamish Lawson
hbl@st-andrews.ac.uk
Wed, 29 Nov 2000 16:23:26 -0000
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 hit
counters), then strictly it would be breaking the semantics of GET, which is
meant to be idempotent - capable of being called multiple times without
meaningfully changing the state of the server-side system or application.
Requests that can change the state are supposed to use POST.
Hamish Lawson