Add status message for 202 Accepted

This commit is contained in:
Valentin Vanelslande 2020-01-10 17:50:37 -05:00 committed by GitHub
parent 6fe6fd5dbe
commit db27812198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1556,6 +1556,7 @@ find_content_type(const std::string &path,
inline const char *status_message(int status) {
switch (status) {
case 200: return "OK";
case 202: return "Accepted";
case 204: return "No Content";
case 206: return "Partial Content";
case 301: return "Moved Permanently";