Currently, there is no way to handle redirects explicitly. I ran into some issues with this when iterating over a large number of URLs with widely varying formats. If my script hit a URL with too many redirects, requests would fail but without raising an explicit error, hanging the entire script.
Currently, there is no way to handle redirects explicitly. I ran into some issues with this when iterating over a large number of URLs with widely varying formats. If my script hit a URL with too many redirects, requests would fail but without raising an explicit error, hanging the entire script.