summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2020-03-14 14:12:01 (GMT)
committerGitHub <noreply@github.com>2020-03-14 14:12:01 (GMT)
commitda52be47690da0d9f78d0dce9ee5c3e4dbef49e1 (patch)
tree12cd6fb0d3121d8c06645d231fa279c1f157768f /Lib/test/test_httplib.py
parentb81f40f0adae3b1d1e57f9a89940ba827b9ede70 (diff)
downloadcpython-da52be47690da0d9f78d0dce9ee5c3e4dbef49e1.zip
cpython-da52be47690da0d9f78d0dce9ee5c3e4dbef49e1.tar.gz
cpython-da52be47690da0d9f78d0dce9ee5c3e4dbef49e1.tar.bz2
bpo-39509: Update HTTP status code to follow IANA (GH-18294)
Add status codes 103 EARLY_HINTS and 425 TOO_EARLY.
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index e1aa414..95eca7e 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -1440,6 +1440,8 @@ class OfflineTest(TestCase):
'INSUFFICIENT_STORAGE',
'NOT_EXTENDED',
'NETWORK_AUTHENTICATION_REQUIRED',
+ 'EARLY_HINTS',
+ 'TOO_EARLY'
]
for const in expected:
with self.subTest(constant=const):