From b04f738983adb6a520bae3aae43aa4e95026d74d Mon Sep 17 00:00:00 2001 From: Angel Ria Purnamasari Date: Wed, 20 Sep 2023 16:54:23 +0700 Subject: [PATCH] Feat: now have 103 and 426 http-codes (#89) * update: README.md now have 103 status code * feat: now have 103 http-codes * feat: now have 426 http-codes * delete: 103 from README.md because the docs will be generated, we don't need to add it manually. * feat: now have 521 WEB_SERVER_IS_DOWN * feat: remove 521 --------- Co-authored-by: Angellee --- codes.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/codes.json b/codes.json index 6009217..fdb3111 100644 --- a/codes.json +++ b/codes.json @@ -342,6 +342,26 @@ "description": "This code indicates that the server has received and is processing the request, but no response is available yet." } }, + { + "code": 103, + "phrase": "Early Hints", + "constant": "EARLY_HINTS", + "isDeprecated": false, + "comment": { + "doc": "Official Documentation @ https://www.rfc-editor.org/rfc/rfc8297#page-3", + "description": "This code indicates to the client that the server is likely to send a final response with the header fields included in the informational response." + } + }, + { + "code": 426, + "phrase": "Upgrade Required", + "constant": "UPGRADE_REQUIRED", + "isDeprecated": false, + "comment": { + "doc": "Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.15", + "description": "The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol." + } + }, { "code": 407, "phrase": "Proxy Authentication Required",