mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
Update status-codes.md file
This commit is contained in:
parent
ee838de648
commit
5f6b0d32d2
|
@ -123,6 +123,20 @@ Response status codes beginning with the digit "5" indicate cases in which the s
|
||||||
HTTP_510_NOT_EXTENDED
|
HTTP_510_NOT_EXTENDED
|
||||||
HTTP_511_NETWORK_AUTHENTICATION_REQUIRED
|
HTTP_511_NETWORK_AUTHENTICATION_REQUIRED
|
||||||
|
|
||||||
|
# Cloudflare-specific HTTP status codes
|
||||||
|
HTTP_520_UNKNOWN_ERROR = 520
|
||||||
|
HTTP_521_WEB_SERVER_IS_DOWN = 521
|
||||||
|
HTTP_522_CONNECTION_TIMED_OUT = 522
|
||||||
|
HTTP_523_ORIGIN_IS_UNREACHABLE = 523
|
||||||
|
HTTP_524_A_TIMEOUT_OCCURRED = 524
|
||||||
|
HTTP_525_SSL_HANDSHAKE_FAILED = 525
|
||||||
|
HTTP_526_INVALID_SSL_CERTIFICATE = 526
|
||||||
|
HTTP_527_RAILGUN_ERROR = 527
|
||||||
|
HTTP_530_ORIGIN_DNS_ERROR = 530
|
||||||
|
HTTP_531_ORIGIN_CONNECTION_TIMEOUT = 531
|
||||||
|
HTTP_532_ORIGIN_READ_TIMEOUT = 532
|
||||||
|
HTTP_533_ORIGIN_UNCERTAIN_ERROR = 533
|
||||||
|
|
||||||
## Helper functions
|
## Helper functions
|
||||||
|
|
||||||
The following helper functions are available for identifying the category of the response code.
|
The following helper functions are available for identifying the category of the response code.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user