mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-39509: Update HTTP status code to follow IANA (GH-18294)
Add status codes 103 EARLY_HINTS and 425 TOO_EARLY.
This commit is contained in:
parent
b81f40f0ad
commit
da52be4769
5 changed files with 19 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue