Skip to content

Commit

Permalink
Feat: now have 103 and 426 http-codes (#89)
Browse files Browse the repository at this point in the history
* 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 <angel.purnamasari@suppapp.com>
  • Loading branch information
angellee177 and angelsupp committed Sep 20, 2023
1 parent d6a1c88 commit b04f738
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b04f738

Please sign in to comment.