From 80aa487e7e4ce5ac71f552aed5b193ce6b43f31e Mon Sep 17 00:00:00 2001 From: Brian Rogers Date: Wed, 28 Feb 2024 14:52:37 -0700 Subject: [PATCH] updating some status codes --- src/helpers/constants/http_status_codes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers/constants/http_status_codes.php b/src/helpers/constants/http_status_codes.php index 6b2e637..e270394 100644 --- a/src/helpers/constants/http_status_codes.php +++ b/src/helpers/constants/http_status_codes.php @@ -24,6 +24,7 @@ $httpCodes = [ 204 => 'HTTP_NO_CONTENT', 205 => 'HTTP_RESET_CONTENT', 206 => 'HTTP_PARTIAL_CONTENT', + 218 => 'HTTP_THIS_IS_FINE', // Apache specific // 300's (redirections / "go away") 300 => 'HTTP_MULTIPLE_CHOICE', @@ -57,12 +58,14 @@ $httpCodes = [ 236 => 'HTTP_UPGRADE_REQUIRED', 428 => 'HTTP_PRECONDITION_REQUIRED', 429 => 'HTTP_TOO_MANY_REQUESTS', + 444 => 'HTTP_NO_RESPONSE', // Nginx specific, used internally to return no info and close connection immediately 451 => 'HTTP_GAG_ORDER', // 500's (server-level problem, process died or configuration is incorrect / "server screwed up") 500 => 'HTTP_SERVER_ERROR', 501 => 'HTTP_NOT_IMPLEMENTED', 503 => 'HTTP_UNAVAILABLE', + 529 => 'HTTP_SITE_OVERLOADED', // Qualys specific, API response to indicate server resources are over capacity 530 => 'HTTP_SUSPENDED', ];