From ed6d949f426abaaa919f8362aa81b24eb7a190bf Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 22 Dec 2019 12:50:25 -0500 Subject: [PATCH] Fix #299 --- httplib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/httplib.h b/httplib.h index 1c51b0e..2579f05 100644 --- a/httplib.h +++ b/httplib.h @@ -1561,6 +1561,7 @@ inline const char *find_content_type(const std::string &path) { inline const char *status_message(int status) { switch (status) { case 200: return "OK"; + case 204: return "No Content"; case 206: return "Partial Content"; case 301: return "Moved Permanently"; case 302: return "Found";