Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix disabling of location header autocorrect for werkzeug 2+ #649

Closed

Commits on Jul 19, 2021

  1. Fix disabling of location header autocorrect for werkzeug 2+ (postman…

    …labs#647)
    
    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>
    AdamWill committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    ccd417e View commit details
    Browse the repository at this point in the history