[Zope-dev] RE: Dreamweaver, Webdav and PUT.

Brian Lloyd brian.lloyd@zope.com
Tue, 25 Sep 2001 09:55:35 -0400


> I discovered that if I define the PROPFIND method on the
> LockNullResource class as follows:
> 
>     def PROPFIND(self, REQUEST, RESPONSE):
>         """Retrieve properties defined on the resource."""
>         self.dav__init(REQUEST, RESPONSE)
>         cmd=davcmds.PropFind(REQUEST)
>         result=cmd.apply(self)
>         RESPONSE.setStatus(207)
>         RESPONSE.setHeader('Content-Type', 'text/xml; charset="utf-8"')
>         RESPONSE.setBody(result)
>         return RESPONSE
> 
> then the dreamweaver PUT works perfectly.  I don't know enough about
> Webdav to know if this is a satisfactory fix or not, but it seems to
> work for me.  The collector is down currently but I will put it in when
> it is back up unless others advise me not to.

Thanks Terry - I've checked this in for 2.4.2. 

Brian Lloyd        brian@zope.com          
Zope Corporation   www.zope.com