AspenWeb / pando.py

Filesystem dispatch + Simplates + Python = a nice web framework.
http://aspen.io/
Other
149 stars 38 forks source link

Running code after sending the response to the client #590

Open Changaco opened 5 years ago

Changaco commented 5 years ago

Pando currently doesn't allow executing extra functions after passing the response to the WSGI server. I'm thinking that Website could have a method for that, its default implementation would run a second state chain composed of log_traceback_for_exception and log_result_of_request.