diff --git a/fedora/client/openidbaseclient.py b/fedora/client/openidbaseclient.py index 263b4373..72633fc8 100644 --- a/fedora/client/openidbaseclient.py +++ b/fedora/client/openidbaseclient.py @@ -164,7 +164,7 @@ def __init__(self, base_url, login_url=None, useragent=None, debug=False, # Also hold on to retry logic. # http://www.coglib.com/~icordasc/blog/2014/12/retries-in-requests.html server_errors = [500, 501, 502, 503, 504, 506, 507, 508, 509, 599] - method_whitelist = Retry.DEFAULT_METHOD_WHITELIST.union(set(['POST'])) + method_whitelist = Retry.DEFAULT_ALLOWED_METHODS.union(set(['POST'])) if retries is not None: prefixes = ['http://', 'https://'] for prefix in prefixes: