This repository was archived by the owner on Oct 14, 2024. It is now read-only.
This repository was archived by the owner on Oct 14, 2024. It is now read-only.
RedirectHandler maintains max_redirect
state across requests #246
Closed
Description
When using RedirectHandler for multiple requests without specifying custom options, we encounter an issue where the max_redirect
counter is shared across all requests handled by a single RedirectHandler instance. This is problematic when downloading drive items using the Microsoft Graph API, which respond with a 302 Found
redirect to a preauthenticated download URL.
After 5 successive downloads, the handler raises Too many redirects
exception due to the shared counter reaching its default limit, effectively preventing further downloads.
Metadata
Metadata
Assignees
Type
Projects
Status
Done ✔️