fix(statuses): Add HTTP 103 Early Hints

See https://tools.ietf.org/html/rfc8297#section-2
This commit is contained in:
Florian Wendelborn 2019-05-22 21:48:44 +02:00 committed by GitHub
parent 0d0e7c3ae0
commit 8edc45274b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ def is_server_error(code):
HTTP_100_CONTINUE = 100 HTTP_100_CONTINUE = 100
HTTP_101_SWITCHING_PROTOCOLS = 101 HTTP_101_SWITCHING_PROTOCOLS = 101
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