Replace Urllib3 method_whitelist with allowed_methods (#638)

* Replace method_whitelist with allowed_methods

* Add ChangeLog Entry

* update requests to 2.25 and six to 1.15
This commit is contained in:
Rene Nulsch authored and GitHub committed 2021-02-27 16:43:56 +01:00
1 parent 27a7c2c880
commit 4e1e74bddc
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ class Spotify(object):
total=self.retries,
connect=None,
read=False,
method_whitelist=frozenset(['GET', 'POST', 'PUT', 'DELETE']),
allowed_methods=frozenset(['GET', 'POST', 'PUT', 'DELETE']),
status=self.status_retries,
backoff_factor=self.backoff_factor,
status_forcelist=self.status_forcelist)