RE: [Zope-dev] RE: Dreamweaver, Webdav and PUT.
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[EMAIL PROTECTED] Zope Corporation www.zope.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] RE: Dreamweaver, Webdav and PUT.
Hi, 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. terry -- Terry Kerr ([EMAIL PROTECTED]) Chief Technical Officer Adroit Internet Solutions (www.adroit.net) Phone: +61 3 9563 4461 Fax: +61 3 9563 3856 ICQ: 79303381 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )