Merge pull request #4401 from zachaysan/add_http_status_codes
Add http status codes
This commit is contained in:
commit
d8ee2c2409
1 changed files with 8 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ type
|
||||||
Http200 = "200 OK",
|
Http200 = "200 OK",
|
||||||
Http201 = "201 Created",
|
Http201 = "201 Created",
|
||||||
Http202 = "202 Accepted",
|
Http202 = "202 Accepted",
|
||||||
|
Http203 = "203 Non-Authoritative Information",
|
||||||
Http204 = "204 No Content",
|
Http204 = "204 No Content",
|
||||||
Http205 = "205 Reset Content",
|
Http205 = "205 Reset Content",
|
||||||
Http206 = "206 Partial Content",
|
Http206 = "206 Partial Content",
|
||||||
|
|
@ -52,6 +53,13 @@ type
|
||||||
Http416 = "416 Requested Range Not Satisfiable",
|
Http416 = "416 Requested Range Not Satisfiable",
|
||||||
Http417 = "417 Expectation Failed",
|
Http417 = "417 Expectation Failed",
|
||||||
Http418 = "418 I'm a teapot",
|
Http418 = "418 I'm a teapot",
|
||||||
|
Http421 = "421 Misdirected Request",
|
||||||
|
Http422 = "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",
|
Http500 = "500 Internal Server Error",
|
||||||
Http501 = "501 Not Implemented",
|
Http501 = "501 Not Implemented",
|
||||||
Http502 = "502 Bad Gateway",
|
Http502 = "502 Bad Gateway",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue