[Zope3-dev] RFC: Handling HTTP DELETE errors
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Jan 3 10:41:55 EST 2006
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:
+1
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list