From 126f1d177e8bc07b848250c1f7be8cd6996fc888 Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Thu, 16 Jan 2020 00:59:24 -0500 Subject: [PATCH] Add status message: 503 Service Unavailable --- httplib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/httplib.h b/httplib.h index e2766cc..726001e 100644 --- a/httplib.h +++ b/httplib.h @@ -1581,6 +1581,7 @@ inline const char *status_message(int status) { case 414: return "Request-URI Too Long"; case 415: return "Unsupported Media Type"; case 416: return "Range Not Satisfiable"; + case 503: return "Service Unavailable"; default: case 500: return "Internal Server Error";