Is it possible to register (browser) views based on the request method?
E.g. to do something for GET and something else for POST requests?
Currently I do something like this (where FooView is registered as the
default view for some interface):
if self.request.method = POST:
But I have the feeling this can be done more elegantly. I did notice
something in this direction in zope/app/dav/configure.zcml, but I'm not
sure this actually helps. It could be I overlook something very very
Maybe someone has an idea? Any help would be highly appreciated :-)
software developer, Institute for Netherlands History
Zope3-users mailing list