Skip to content

Add response.future_requests_uri, deprecate response.is_permanent_redirect #5436

@SoniEx2

Description

@SoniEx2

response.is_permanent_redirect is unreliable/useless/dangerous for chains of redirects, just give the user the correct URI instead.

example use-case: foo redirects temporarily to bar, which in turn redirects permanently to baz. future requests should still be made to foo, but using is_permanent_redirect would lead to them being made to baz instead.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions