Skip to content

Commit

Permalink
Change argument name
Browse files Browse the repository at this point in the history
Fix change related to urllib3 v2: urllib3/urllib3#2086
  • Loading branch information
Marcelo Parada committed May 8, 2023
1 parent ff99b06 commit 5ee1056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retry_requests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def retry(
session = session or TSession()

# Retry too in non-idempotent methods like POST
kwargs.setdefault("method_whitelist", False)
kwargs.setdefault("allowed_methods", False)

r = Retry(
total=retries,
Expand Down

0 comments on commit 5ee1056

Please sign in to comment.