Tornado 网络框架似乎公开了一个方法 RequestHandler.prepare() ,该方法在实际处理程序方法之前调用。我想知道是否有在处理程序之后调用的类似方法?
最佳答案
现在启动 Tornado 2.2,您可以覆盖 RequestHandler.on_finish 以进行请求后处理。
关于python - Tornado .web : Is there a method which is called after the actual handler method?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8686745/