Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix disabling of location header autocorrect for werkzeug 2+
In werkzeug 2.0.0 and later, the Location header autocorrection moved from BaseResponse to Response, so we need to set `autocorrect_location_header = False` in `Response` not `BaseResponse`. For now let's just set it in both to be safe, this doesn't cause any errors at least with 1.0.1 and 2.0.1. Signed-off-by: Adam Williamson <awilliam@redhat.com>
- Loading branch information