[Zope3-Users] X3 WebDAV?

Philipp von Weitershausen philipp at weitershausen.de
Thu Nov 11 11:00:55 EST 2004


John Toews wrote:
> An empty request seems to be valid: "A client may choose not to submit a
> request body. An empty PROPFIND request body MUST be treated as a
> request for the names and values of all properties."
> http://www.webdav.org/specs/rfc2518.html#METHOD_PROPFIND
> 
> So if I'm thinking right, zope.app.dav.propfind is expecting some XML
> with a request, which isn't required. When it doesn't get any, it throws
> an invalid error.

Thanks for clearing that up. I think your analysis is right, provided 
the fact that Dreamweaver happens to send a body.

> What's the process from here?

You should file a bug in the Zope 3 collector. Please include all of 
your tracebacks, tcpwatch recordings and conclusions so far.

Apart from that, it would be marvellous if you could identify the 
problematic piece of code in zope.app.dav.propfind and try to fix it. 
Given that Zope seems to anser Dreamweaver's request properly, it 
shouldn't be too hard to add an additional switch that invokes the same 
code path when no request body was provided. If you manage to do that, 
please attach the patch to the collector issue.

Thanks,

Philipp


More information about the Zope3-users mailing list