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:
Dong-hee Na 2020-03-14 23:12:01 +09:00 committed by GitHub
parent b81f40f0ad
commit da52be4769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 0 deletions

View file

@ -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):