[Zope] Re: Zope's Webdav port for RESTful web service

Chris Withers chris at simplistix.co.uk
Tue Nov 29 04:53:34 EST 2005


Brad Clements wrote:
> PythonScript.py line 368 or so
> 
> 
>     def PUT(self, REQUEST, RESPONSE):
>         """ Handle HTTP PUT requests """
>         self.dav__init(REQUEST, RESPONSE)
>         self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1)
>         self.write(REQUEST.get('BODY', ''))
>         RESPONSE.setStatus(204)
>         return RESPONSE

...well, you could always subclass and override ;-)

> Plus that method is protected by "Change Python Scripts" permission as 
> well.

Why is that a problem?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list