From bc5b881c944c501ce34c192d9853377e765385fc Mon Sep 17 00:00:00 2001 From: default Date: Fri, 18 Nov 2022 19:44:43 +0100 Subject: [PATCH] Serve the root and susie even if the query does not have an Accept header. --- httpd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/httpd.c b/httpd.c index 85d4b71..76bebad 100644 --- a/httpd.c +++ b/httpd.c @@ -28,10 +28,6 @@ int server_get_handler(d_char *req, char *q_path, /* basic server services */ { int status = 0; - char *acpt = xs_dict_get(req, "accept"); - - if (acpt == NULL) - return 0; /* is it the server root? */ if (*q_path == '\0') {