Issue #1250 invalid

Add listener between request process steps

twiiqer tweaker
created an issue


Actually I want to know how can I add a LISTENER in cycle of cherrypy request process. I want to catch the request before calling any of my Root class methods. For example, I want to put the website in "Under Construction" and then any coming requests ".../help, or .../data or ..." returns a message of under construction. I need this handler, to catch those request and don't let them follow the normal steps.

Comments (1)

  1. Log in to comment