mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-14 05:36:50 +03:00
Add Multiple HTTP Statuses (#6706)
This commit is contained in:
parent
8430f3e5b6
commit
6bd25c09a6
|
@ -37,6 +37,8 @@ HTTP_204_NO_CONTENT = 204
|
||||||
HTTP_205_RESET_CONTENT = 205
|
HTTP_205_RESET_CONTENT = 205
|
||||||
HTTP_206_PARTIAL_CONTENT = 206
|
HTTP_206_PARTIAL_CONTENT = 206
|
||||||
HTTP_207_MULTI_STATUS = 207
|
HTTP_207_MULTI_STATUS = 207
|
||||||
|
HTTP_208_ALREADY_REPORTED = 208
|
||||||
|
HTTP_226_IM_USED = 226
|
||||||
HTTP_300_MULTIPLE_CHOICES = 300
|
HTTP_300_MULTIPLE_CHOICES = 300
|
||||||
HTTP_301_MOVED_PERMANENTLY = 301
|
HTTP_301_MOVED_PERMANENTLY = 301
|
||||||
HTTP_302_FOUND = 302
|
HTTP_302_FOUND = 302
|
||||||
|
@ -67,6 +69,7 @@ HTTP_417_EXPECTATION_FAILED = 417
|
||||||
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_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
|
||||||
HTTP_431_REQUEST_HEADER_FIELDS_TOO_LARGE = 431
|
HTTP_431_REQUEST_HEADER_FIELDS_TOO_LARGE = 431
|
||||||
|
@ -77,5 +80,9 @@ HTTP_502_BAD_GATEWAY = 502
|
||||||
HTTP_503_SERVICE_UNAVAILABLE = 503
|
HTTP_503_SERVICE_UNAVAILABLE = 503
|
||||||
HTTP_504_GATEWAY_TIMEOUT = 504
|
HTTP_504_GATEWAY_TIMEOUT = 504
|
||||||
HTTP_505_HTTP_VERSION_NOT_SUPPORTED = 505
|
HTTP_505_HTTP_VERSION_NOT_SUPPORTED = 505
|
||||||
|
HTTP_506_VARIANT_ALSO_NEGOTIATES = 506
|
||||||
HTTP_507_INSUFFICIENT_STORAGE = 507
|
HTTP_507_INSUFFICIENT_STORAGE = 507
|
||||||
|
HTTP_508_LOOP_DETECTED = 508
|
||||||
|
HTTP_509_BANDWIDTH_LIMIT_EXCEEDED = 509
|
||||||
|
HTTP_510_NOT_EXTENDED = 510
|
||||||
HTTP_511_NETWORK_AUTHENTICATION_REQUIRED = 511
|
HTTP_511_NETWORK_AUTHENTICATION_REQUIRED = 511
|
||||||
|
|
Loading…
Reference in New Issue
Block a user