Dieter Maurer wrote:
> Roman Suzi wrote at 2005-12-3 21:56 +0200:
>>I am looking for a way in Zope to receive HTTP-requests with, eg,
>>DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and
>>issue "Not authorised".
> "DELETE" and "PUT" are WebDAV methods (and defined in
> "webdav.Resource.Resouce").
> You have the usual hook: override the definition in your class.
> Do not forget to assign a new permission to your new method definitions
> (otherwise, the 'Unauthorized' will remain).

This is what freezes Zope:

Traceback (most recent call last):
  File "/usr/local/lib/python2.3/logging/", line 674, in emit
    msg = self.format(record)
  File "/usr/local/lib/python2.3/logging/", line 567, in format
    return fmt.format(record)
  File "/usr/local/lib/python2.3/logging/", line 369, in format
    s = s + self.formatException(record.exc_info)
  File "/usr/local/lib/python2.3/logging/", line 342, in
    traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
  File "/usr/local/lib/python2.3/", line 123, in print_exception
    print_tb(tb, limit, file)
  File "/usr/local/lib/python2.3/", line 68, in print_tb
    line = linecache.getline(filename, lineno)
  File "/usr/local/lib/python2.3/", line 14, in getline
    lines = getlines(filename)
RuntimeError: maximum recursion depth exceeded

Roman Suzi
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to