Closed slint closed 6 years ago
request.is_xhr has been deprecated in werkzeug>=0.13
request.is_xhr
werkzeug>=0.13
Some further explanation for why this is happening: https://github.com/pallets/werkzeug/issues/1077
In our case, this is only used to check for pretty-printing JSON... I think we should probably change it to what flask decided to change it to as well, i.e. s/request.is_xhr/current_app.debug
s/request.is_xhr/current_app.debug
request.is_xhr
has been deprecated inwerkzeug>=0.13
Some further explanation for why this is happening: https://github.com/pallets/werkzeug/issues/1077
In our case, this is only used to check for pretty-printing JSON... I think we should probably change it to what flask decided to change it to as well, i.e.
s/request.is_xhr/current_app.debug