On Thursday 01 December 2005 10:31, Marius Gedminas wrote:
> When you do HTTP DELETE on objects that do not explicitly support
> deletion, the default view (zope.app.http.delete.DELETE) tries to adapt
> self.context.__parent__ to IWriteDirectory, which raises a TypeError
> which is never caught. I suggest changing the view to raise
> MethodNotAllowed instead when there is no adapter:


Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to