On 28 Nov 2005 at 8:26, Tres Seaver wrote:
> requests onto *any* publishable method, which means that you have to
> try hard to abide by the RESTriction. Zope also supports using PUT
> for "resource creation", which the REST folks don't seem to get.
I'm not sure what part REST folks don't seem to get regarding PUT.
But in any case, I have not been able to get PUT to work in a
PythonScript in Zope 2.7.2 because PythonScript objects have a PUT
method that assumes it's a DAV upload.
PythonScript.py line 368 or so
def PUT(self, REQUEST, RESPONSE):
""" Handle HTTP PUT requests """
self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1)
Plus that method is protected by "Change Python Scripts" permission as
Brad Clements, [EMAIL PROTECTED] (315)268-1000
AOL-IM or SKYPE: BKClements
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -