8 Apr
2002
8 Apr
'02
10:34 p.m.
Hi, how and where can I test in the PUT method, if a property called "TIDY" (boolean) is set in the parent folder the new instance of xyz will created in? Class xyz(DTMLDocument): [...] def PUT(self, REQUEST, RESPONSE): """Handle HTTP PUT requests.""" self.dav__init(REQUEST, RESPONSE) self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1) body=REQUEST.get('BODY', '') self._validateProxy(REQUEST) self.munge(body) self.ZCacheable_invalidate() RESPONSE.setStatus(204) return RESPONSE Thanks Marcus -- Petition for a Software Patent Free Europe http://petition.eurolinux.org