From 9c76e52177a43ab7d521960933b8b5625585a0ce Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Mon, 28 Sep 2020 09:28:12 -0500 Subject: [PATCH] Update src/urllib3/util/retry.py Co-authored-by: Andrey Petrov --- src/urllib3/util/retry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urllib3/util/retry.py b/src/urllib3/util/retry.py index 120b7fab07..2f2d066ea5 100644 --- a/src/urllib3/util/retry.py +++ b/src/urllib3/util/retry.py @@ -428,7 +428,7 @@ def _is_read_error(self, err): def _is_method_retryable(self, method): """Checks if a given HTTP method should be retried upon, depending if - it is included on the method allowlist. + it is included in the allowed_methods """ # TODO: For now favor if the Retry implementation sets its own method_whitelist # property outside of our constructor to avoid breaking custom implementations.