mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #243 from jamiebullock/master
Add support for HTTP 422 status code
This commit is contained in:
commit
cb9090b7c1
@ -8893,6 +8893,7 @@ namespace crow
|
|||||||
{401, "HTTP/1.1 401 Unauthorized\r\n"},
|
{401, "HTTP/1.1 401 Unauthorized\r\n"},
|
||||||
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
||||||
{404, "HTTP/1.1 404 Not Found\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"},
|
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
|
||||||
{501, "HTTP/1.1 501 Not Implemented\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"},
|
{401, "HTTP/1.1 401 Unauthorized\r\n"},
|
||||||
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
{403, "HTTP/1.1 403 Forbidden\r\n"},
|
||||||
{404, "HTTP/1.1 404 Not Found\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"},
|
{500, "HTTP/1.1 500 Internal Server Error\r\n"},
|
||||||
{501, "HTTP/1.1 501 Not Implemented\r\n"},
|
{501, "HTTP/1.1 501 Not Implemented\r\n"},
|
||||||
|
Loading…
Reference in New Issue
Block a user