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

on_redirect called always? #288

Closed
emmx opened this issue Mar 20, 2016 · 2 comments
Closed

on_redirect called always? #288

emmx opened this issue Mar 20, 2016 · 2 comments

Comments

@emmx
Copy link

emmx commented Mar 20, 2016

I'm not getting it, why would on_redirect be called only if follow_location is false? I expect it to be called always if there's a redirection. #268

How do I do that? Any idea?

@taf2
Copy link
Owner

taf2 commented Mar 20, 2016

Pretty sure it is called if there is a 30x response code

@taf2
Copy link
Owner

taf2 commented Dec 27, 2022

Added a work around for this to call on_redirect when we finish and redirect_count is greater than 0.

@taf2 taf2 closed this as completed Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants