1
0
mirror of synced 2025-07-23 14:20:59 +03:00

Merge pull request #326 from vvanelslande/add_202

Add status message for 202 Accepted
This commit is contained in:
yhirose
2020-01-10 18:37:38 -05:00
committed by GitHub

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";