commit | da52be47690da0d9f78d0dce9ee5c3e4dbef49e1 | [log] [tgz] |
---|---|---|
author | Dong-hee Na <donghee.na92@gmail.com> | Sat Mar 14 23:12:01 2020 +0900 |
committer | GitHub <noreply@github.com> | Sat Mar 14 16:12:01 2020 +0200 |
tree | 12cd6fb0d3121d8c06645d231fa279c1f157768f | |
parent | b81f40f0adae3b1d1e57f9a89940ba827b9ede70 [diff] |
bpo-39509: Update HTTP status code to follow IANA (GH-18294) Add status codes 103 EARLY_HINTS and 425 TOO_EARLY.
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 @@ 'INSUFFICIENT_STORAGE', 'NOT_EXTENDED', 'NETWORK_AUTHENTICATION_REQUIRED', + 'EARLY_HINTS', + 'TOO_EARLY' ] for const in expected: with self.subTest(constant=const):