`

AttributeError: 'Request' object has no attribute 'is_xhr' flask 错误 ERROR in 报错

 
阅读更多
AttributeError: 'Request' object has no attribute 'is_xhr'

参考 : https://stackoverflow.com/questions/60131900/weird-is-xhr-error-when-deploying-flask-app-to-heroku


"werkzeug": {
            "hashes": [
                "sha256:2de2a5db0baeae7b2d2664949077c2ac63fbd16d98da0ff71837f7d1dea3fd43",
                "sha256:6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"
            ],
            "version": "==1.0.1"
        }


可以降低版本 到  ==0.12.2

或者

升级到最新版本的Flask(> = 1.0.0),可以在最新的Werkzeug上正常运行
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics