diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2017-09-04 16:40:40 +0100 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2017-09-04 16:40:40 +0100 |
commit | 679fe4a8aca06844e3a006da9257dd6bf8a54adf (patch) | |
tree | d69a9d3c0387e89a6cd8aefc03e425a5bf010c57 /include | |
parent | 9a1e4aefddef1010219f7267358b055029488def (diff) | |
download | crow-679fe4a8aca06844e3a006da9257dd6bf8a54adf.tar.gz crow-679fe4a8aca06844e3a006da9257dd6bf8a54adf.zip |
Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
Diffstat (limited to 'include')
-rw-r--r-- | include/crow/http_connection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h index 96f2d14..3ef8089 100644 --- a/include/crow/http_connection.h +++ b/include/crow/http_connection.h @@ -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"}, |