parent
6efff29d16
commit
c9f101ccb3
@ -1,26 +0,0 @@
|
|||||||
From 644124ecd0b6e417c527191f866daa05a5a2056d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Quentin Pradet <quentin.pradet@gmail.com>
|
|
||||||
Date: Mon, 2 Oct 2023 19:46:16 +0400
|
|
||||||
Subject: [PATCH] Merge pull request from GHSA-v845-jxx5-vc9f
|
|
||||||
|
|
||||||
---
|
|
||||||
CHANGES.rst | 5 ++++
|
|
||||||
docs/user-guide.rst | 3 +++
|
|
||||||
src/urllib3/util/retry.py | 2 +-
|
|
||||||
test/test_retry.py | 4 +--
|
|
||||||
test/with_dummyserver/test_poolmanager.py | 30 ++++++++++++++++++-----
|
|
||||||
5 files changed, 35 insertions(+), 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/urllib3/util/retry.py b/src/urllib3/util/retry.py
|
|
||||||
index ea48afe3ca..7572bfd26a 100644
|
|
||||||
--- a/kubevirt/urllib3/util/retry.py
|
|
||||||
+++ b/kubevirt/urllib3/util/retry.py
|
|
||||||
@@ -187,7 +187,7 @@ class Retry:
|
|
||||||
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
|
|
||||||
|
|
||||||
#: Default headers to be used for ``remove_headers_on_redirect``
|
|
||||||
- DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
|
|
||||||
+ DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
|
|
||||||
|
|
||||||
#: Default maximum backoff time.
|
|
||||||
DEFAULT_BACKOFF_MAX = 120
|
|
@ -1,59 +0,0 @@
|
|||||||
From 644124ecd0b6e417c527191f866daa05a5a2056d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Quentin Pradet <quentin.pradet@gmail.com>
|
|
||||||
Date: Mon, 2 Oct 2023 19:46:16 +0400
|
|
||||||
Subject: [PATCH] Merge pull request from GHSA-v845-jxx5-vc9f
|
|
||||||
|
|
||||||
---
|
|
||||||
CHANGES.rst | 5 ++++
|
|
||||||
docs/user-guide.rst | 3 +++
|
|
||||||
src/urllib3/util/retry.py | 2 +-
|
|
||||||
test/test_retry.py | 4 +--
|
|
||||||
test/with_dummyserver/test_poolmanager.py | 30 ++++++++++++++++++-----
|
|
||||||
5 files changed, 35 insertions(+), 9 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/urllib3/util/retry.py b/src/urllib3/util/retry.py
|
|
||||||
index ea48afe3ca..7572bfd26a 100644
|
|
||||||
--- a/aws/urllib3/util/retry.py
|
|
||||||
+++ b/aws/urllib3/util/retry.py
|
|
||||||
@@ -187,7 +187,7 @@ class Retry:
|
|
||||||
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
|
|
||||||
|
|
||||||
#: Default headers to be used for ``remove_headers_on_redirect``
|
|
||||||
- DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
|
|
||||||
+ DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
|
|
||||||
|
|
||||||
#: Default maximum backoff time.
|
|
||||||
DEFAULT_BACKOFF_MAX = 120
|
|
||||||
--- a/awscli/urllib3/util/retry.py
|
|
||||||
+++ b/awscli/urllib3/util/retry.py
|
|
||||||
@@ -187,7 +187,7 @@ class Retry:
|
|
||||||
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
|
|
||||||
|
|
||||||
#: Default headers to be used for ``remove_headers_on_redirect``
|
|
||||||
- DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
|
|
||||||
+ DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
|
|
||||||
|
|
||||||
#: Default maximum backoff time.
|
|
||||||
DEFAULT_BACKOFF_MAX = 120
|
|
||||||
--- a/azure/urllib3/util/retry.py
|
|
||||||
+++ b/azure/urllib3/util/retry.py
|
|
||||||
@@ -187,7 +187,7 @@ class Retry:
|
|
||||||
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
|
|
||||||
|
|
||||||
#: Default headers to be used for ``remove_headers_on_redirect``
|
|
||||||
- DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
|
|
||||||
+ DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
|
|
||||||
|
|
||||||
#: Default maximum backoff time.
|
|
||||||
DEFAULT_BACKOFF_MAX = 120
|
|
||||||
--- a/google/urllib3/util/retry.py
|
|
||||||
+++ b/google/urllib3/util/retry.py
|
|
||||||
@@ -187,7 +187,7 @@ class Retry:
|
|
||||||
RETRY_AFTER_STATUS_CODES = frozenset([413, 429, 503])
|
|
||||||
|
|
||||||
#: Default headers to be used for ``remove_headers_on_redirect``
|
|
||||||
- DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Authorization"])
|
|
||||||
+ DEFAULT_REMOVE_HEADERS_ON_REDIRECT = frozenset(["Cookie", "Authorization"])
|
|
||||||
|
|
||||||
#: Default maximum backoff time.
|
|
||||||
DEFAULT_BACKOFF_MAX = 120
|
|
Loading…
Reference in new issue