26 lines
833 B
Diff
26 lines
833 B
Diff
|
|
From 2d98f6b53c38ab8e224cb825d6323b8eb54c887f Mon Sep 17 00:00:00 2001
|
||
|
|
From: Quentin Pradet <quentin.pradet@gmail.com>
|
||
|
|
Date: Fri, 1 Jul 2022 14:43:18 +0400
|
||
|
|
Subject: [PATCH] Bump RECENT_DATE
|
||
|
|
|
||
|
|
---
|
||
|
|
/src/urllib3/connection.py | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/src/urllib3/connection.py b/src/urllib3/connection.py
|
||
|
|
index 60f70f7..f4991e5 100644
|
||
|
|
--- a/src/urllib3/connection.py
|
||
|
|
+++ b/src/urllib3/connection.py
|
||
|
|
@@ -68,7 +68,7 @@ port_by_scheme = {"http": 80, "https": 443}
|
||
|
|
|
||
|
|
# When it comes time to update this value as a part of regular maintenance
|
||
|
|
# (ie test_recent_date is failing) update it to ~6 months before the current date.
|
||
|
|
-RECENT_DATE = datetime.date(2020, 7, 1)
|
||
|
|
+RECENT_DATE = datetime.date(2022, 1, 1)
|
||
|
|
|
||
|
|
_CONTAINS_CONTROL_CHAR_RE = re.compile(r"[^-!#$%&'*+.^_`|~0-9a-zA-Z]")
|
||
|
|
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|