Flask how to set the default request header for response.make_conditional to read

后端 未结 0 755
Happy的楠姐
Happy的楠姐 2021-02-09 11:17

I have a flask route

@app.route(\'/api/test\', methods=[\'GET\'])
def test_get():
   response = make_response(str(1))
   response.add_etag()
   return response.ma         


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