commit bc5b881
default
·
2022-11-18 18:44:43 +0000 UTC
parent 0644518
Serve the root and susie even if the query does not have an Accept header.
1 files changed,
+0,
-4
M
httpd.c
M
httpd.c
+0,
-4
1@@ -28,10 +28,6 @@ int server_get_handler(d_char *req, char *q_path,
2 /* basic server services */
3 {
4 int status = 0;
5- char *acpt = xs_dict_get(req, "accept");
6-
7- if (acpt == NULL)
8- return 0;
9
10 /* is it the server root? */
11 if (*q_path == '\0') {