mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
Add missing - yet necessary - HTTP status codes.
This commit is contained in:
@@ -24,6 +24,7 @@ type
|
||||
Http200 = "200 OK",
|
||||
Http201 = "201 Created",
|
||||
Http202 = "202 Accepted",
|
||||
Http203 = "203 Non-Authoritative Information",
|
||||
Http204 = "204 No Content",
|
||||
Http205 = "205 Reset Content",
|
||||
Http206 = "206 Partial Content",
|
||||
@@ -52,6 +53,13 @@ type
|
||||
Http416 = "416 Requested Range Not Satisfiable",
|
||||
Http417 = "417 Expectation Failed",
|
||||
Http418 = "418 I'm a teapot",
|
||||
Http421 = "421 Misdirected Request",
|
||||
Http421 = "422 Unprocessable Entity",
|
||||
Http426 = "426 Upgrade Required",
|
||||
Http428 = "428 Precondition Required",
|
||||
Http429 = "429 Too Many Requests",
|
||||
Http431 = "431 Request Header Fields Too Large",
|
||||
Http451 = "451 Unavailable For Legal Reasons",
|
||||
Http500 = "500 Internal Server Error",
|
||||
Http501 = "501 Not Implemented",
|
||||
Http502 = "502 Bad Gateway",
|
||||
|
||||
Reference in New Issue
Block a user