Comment 1 for bug 163173

Revision history for this message
Philipp von Weitershausen (philikon) wrote : Re: [Bug 163173] NullResource not created for OPTIONS requests

On 16 Nov 2007, at 20:23 , Jacob Holm wrote:
> According to http://www.webdav.org/specs/rfc2518.html, a NullResource
> is: "A resource which responds with a 404 (Not Found) to any HTTP/1.1
> or DAV method except for PUT, MKCOL, OPTIONS and LOCK. A NULL resource
> MUST NOT appear as a member of its parent collection."
>
> The current implementation in
> zope.app.http.traversal.ContainerTraverser.nullResource only
> creates a
> NullResource for PUT and MKCOL.
>
> Some implementations (e.g. "Microsoft Data Access Internet Publishing
> Provider DAV") try OPTIONS before MKCOL, and fail if they get a 404.
>
> I'd like permission to add at 'OPTIONS' and 'LOCK' to the list of
> methods that we return a NullResource for.

Could you round up a patch that includes (f)tests for such client
behaviour?