标签: python flask
客户端收到响应后是否可以执行函数?
@app.route('/hello') def hello(): return 'hello' # perform some action after returning the response
我找到了this代码段,但它只是在返回之前改变了的响应。