[Zope-dev] HEAD/GET
Dieter Maurer
dieter@handshake.de
Wed, 21 May 2003 22:16:12 +0200
Magnus Heino wrote at 2003-5-21 09:43 +0200:
> Can anyone explain why this HEAD request fails, when the same GET
> request succeeds?
> ... http://www.alvkarlebygk.com/index_html/document_view ....
A bug. Put it into the Collector:
For "HEAD" requests, "ZPublisher.BaseRequest.BaseRequest.traverse"
sets "no_acquire_flag=1". This prevents "document_view" from
being acquired. As "index_html" does not have a
"document_view" attribute, the request fails with a
"NotFound" response.
Dieter