Added http 102, 103, 421, and 425 status codes (#8350)

This commit is contained in:
Partho Kumar Rajvor 2022-02-03 17:57:47 +06:00 committed by GitHub
parent c26ec5a3b8
commit 5bea22f321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,8 @@ def is_server_error(code):
HTTP_100_CONTINUE = 100 HTTP_100_CONTINUE = 100
HTTP_101_SWITCHING_PROTOCOLS = 101 HTTP_101_SWITCHING_PROTOCOLS = 101
HTTP_102_PROCESSING = 102
HTTP_103_EARLY_HINTS = 103
HTTP_200_OK = 200 HTTP_200_OK = 200
HTTP_201_CREATED = 201 HTTP_201_CREATED = 201
HTTP_202_ACCEPTED = 202 HTTP_202_ACCEPTED = 202
@ -67,9 +69,11 @@ HTTP_415_UNSUPPORTED_MEDIA_TYPE = 415
HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416 HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416
HTTP_417_EXPECTATION_FAILED = 417 HTTP_417_EXPECTATION_FAILED = 417
HTTP_418_IM_A_TEAPOT = 418 HTTP_418_IM_A_TEAPOT = 418
HTTP_421_MISDIRECTED_REQUEST = 421
HTTP_422_UNPROCESSABLE_ENTITY = 422 HTTP_422_UNPROCESSABLE_ENTITY = 422
HTTP_423_LOCKED = 423 HTTP_423_LOCKED = 423
HTTP_424_FAILED_DEPENDENCY = 424 HTTP_424_FAILED_DEPENDENCY = 424
HTTP_425_TOO_EARLY = 425
HTTP_426_UPGRADE_REQUIRED = 426 HTTP_426_UPGRADE_REQUIRED = 426
HTTP_428_PRECONDITION_REQUIRED = 428 HTTP_428_PRECONDITION_REQUIRED = 428
HTTP_429_TOO_MANY_REQUESTS = 429 HTTP_429_TOO_MANY_REQUESTS = 429