默认flask返回response为:
若需修改则:
return (res,200,{"Server":"nginx 10.1.1"})
或可定义一个常量字符串或随机字符串作为response,从而规避信息泄露
本文标题: | [python] flask 修改resoponse |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2021/1216_15951.html |
默认flask返回response为:
若需修改则:
return (res,200,{"Server":"nginx 10.1.1"})
或可定义一个常量字符串或随机字符串作为response,从而规避信息泄露
本文标题: | [python] flask 修改resoponse |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2021/1216_15951.html |