We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26ec5a commit 5bea22fCopy full SHA for 5bea22f
rest_framework/status.py
@@ -29,6 +29,8 @@ def is_server_error(code):
29
30
HTTP_100_CONTINUE = 100
31
HTTP_101_SWITCHING_PROTOCOLS = 101
32
+HTTP_102_PROCESSING = 102
33
+HTTP_103_EARLY_HINTS = 103
34
HTTP_200_OK = 200
35
HTTP_201_CREATED = 201
36
HTTP_202_ACCEPTED = 202
@@ -67,9 +69,11 @@ def is_server_error(code):
67
69
HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416
68
70
HTTP_417_EXPECTATION_FAILED = 417
71
HTTP_418_IM_A_TEAPOT = 418
72
+HTTP_421_MISDIRECTED_REQUEST = 421
73
HTTP_422_UNPROCESSABLE_ENTITY = 422
74
HTTP_423_LOCKED = 423
75
HTTP_424_FAILED_DEPENDENCY = 424
76
+HTTP_425_TOO_EARLY = 425
77
HTTP_426_UPGRADE_REQUIRED = 426
78
HTTP_428_PRECONDITION_REQUIRED = 428
79
HTTP_429_TOO_MANY_REQUESTS = 429
0 commit comments