Closed lxbsz closed 2 years ago
I don't understand why this issue is being hit now. Since we are using distro packages, does it mean that
python3-werkzeug
package got upgraded to >= 1.0.0 butpython3-flask
somehow did not? Flask took care of it in 2017 in pallets/flask#2193...
Not very sure, it seems due to some reason the distro was using the versions that the is_xhr
is just marked as deprecated but still there and for recent release switched to werkzeug >= 1.0.0
.
The request.is_xhr method has been deprecated & removed, as it was unreliable.
Signed-off-by: Xiubo Li xiubli@redhat.com