mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #255 from Zagitta/status_codes
Added status codes 413 and 429
This commit is contained in:
commit
53af5043ac
@ -374,7 +374,9 @@ 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"},
|
||||||
|
{413, "HTTP/1.1 413 Payload Too Large\r\n"},
|
||||||
{422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
|
{422, "HTTP/1.1 422 Unprocessable Entity\r\n"},
|
||||||
|
{429, "HTTP/1.1 429 Too Many Requests\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