Flask - Change status message along with status code

后端 未结 0 671
醉酒成梦
醉酒成梦 2021-02-13 16:41

I am looking for a way to change the status code message, not only the status code. Let me elaborate:

@app.route(\'/stat_code\')
def stat():
    return "test         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题