Skip to content

Conversation

mgberg
Copy link

@mgberg mgberg commented May 19, 2023

As of urllib 2.0.0 (released 2023-04-26), the method_whitelist argument for Retry (which has been deprecated for a while) was removed in favor of allowed_methods.

This PR simply swaps the old argument for the new one. The behavior should be unchanged. Closes #22.

More info on the allowed_methods argument can be found here.

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.

urllib3 Retry API change

1 participant