diff --git a/docs/api-guide/status-codes.md b/docs/api-guide/status-codes.md index fb2f9bf13..7fbc6a78a 100644 --- a/docs/api-guide/status-codes.md +++ b/docs/api-guide/status-codes.md @@ -123,6 +123,20 @@ Response status codes beginning with the digit "5" indicate cases in which the s HTTP_510_NOT_EXTENDED 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 The following helper functions are available for identifying the category of the response code.