mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
This commit is contained in:
parent
9a1e4aefdd
commit
679fe4a8ac
@ -8893,6 +8893,7 @@ namespace crow
|
||||
{401, "HTTP/1.1 401 Unauthorized\r\n"},
|
||||
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
||||
{404, "HTTP/1.1 404 Not Found\r\n"},
|
||||
{422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
|
||||
|
||||
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
|
||||
{501, "HTTP/1.1 501 Not Implemented\r\n"},
|
||||
|
@ -374,6 +374,7 @@ namespace crow
|
||||
{401, "HTTP/1.1 401 Unauthorized\r\n"},
|
||||
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
||||
{404, "HTTP/1.1 404 Not Found\r\n"},
|
||||
{422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
|
||||
|
||||
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
|
||||
{501, "HTTP/1.1 501 Not Implemented\r\n"},
|
||||
|
Loading…
Reference in New Issue
Block a user