diff --git a/sdcclient/_common.py b/sdcclient/_common.py index ac4c3096..8795d5af 100644 --- a/sdcclient/_common.py +++ b/sdcclient/_common.py @@ -11,7 +11,7 @@ def __init__(self, *args, **kwargs): retry_strategy = Retry( total=3, status_forcelist=[403, 404, 429, 500, 502, 503, 504], - method_whitelist=["HEAD", "GET", "OPTIONS", "PUSH", "PUT"], + allowed_methods=["HEAD", "GET", "OPTIONS", "PUSH", "PUT"], backoff_factor=2, ) kwargs["max_retries"] = retry_strategy