gpt4 book ai didi

python - Tornado .web : Is there a method which is called after the actual handler method?

转载 作者:太空宇宙 更新时间:2023-11-04 10:57:21 26 4
gpt4 key购买 nike

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com