From eb20b64dc44bfaba1a165688d9ead0db62a5cfe8 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 1ee56ffd..8f67c76a 100644 --- a/src/Tiny_httpd_server.ml +++ b/src/Tiny_httpd_server.ml @@ -37,6 +37,7 @@ module Response_code = struct | 302 -> "Found" | 304 -> "Not Modified" | 400 -> "Bad request" + | 401 -> "Unauthorized" | 403 -> "Forbidden" | 404 -> "Not found" | 405 -> "Method not allowed"