From ee310b5262b8d42d4c96a22a3c067f4909f17efa Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sun, 2 Jan 2022 16:48:46 -0500 Subject: [PATCH] fix: description for 401 code --- src/Tiny_httpd_server.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tiny_httpd_server.ml b/src/Tiny_httpd_server.ml index 30c35d11..9378faae 100644 --- a/src/Tiny_httpd_server.ml +++ b/src/Tiny_httpd_server.ml @@ -40,6 +40,7 @@ module Response_code = struct | 302 -> "Found" | 304 -> "Not Modified" | 400 -> "Bad request" + | 401 -> "Unauthorized" | 403 -> "Forbidden" | 404 -> "Not found" | 405 -> "Method not allowed"