The simplest solution is to look at the value of cherrypy.request.method.
My own use of cherrypy is focused on RESTful web services, so I prefer for my request handlers to be organised by request method. Some people like this pattern, others don't. See here: http://tools.cherrypy.org/wiki/HTTPMethodFiltering
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cherrypy-users/-/sO1rVBKgAYQJ.
To post to this group, send email to cherryp...@googlegroups.com.
To unsubscribe from this group, send email to cherrypy-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en.