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

[Rest] Support exponential backoff and retry with urllib3 < 2 and new retry parameters #1492

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

Viktxrrr
Copy link
Contributor

After updating the library to version 3.41.18, the request method stopped working correctly due to the absence of the "Retry-After" header in the Confluence response.
I was getting a KeyError when the response had a status code of 429.

I also decided to add backoff_and_retry support with urllib3 < 2 version, since someone else might be using urllib3 <2. I think this would be a more expected behavior if, when enabling the backoff_and_retry function with urllib3 version <2, it worked anyway.

@Viktxrrr Viktxrrr force-pushed the master branch 2 times, most recently from adae8fb to 7bba084 Compare January 22, 2025 05:34
@gonchik gonchik merged commit f3f5e58 into atlassian-api:master Jan 23, 2025
3 of 11 checks passed
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

Successfully merging this pull request may close these issues.

3 participants