summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2022-11-18 19:44:43 +0100
committerGravatar default2022-11-18 19:44:43 +0100
commitbc5b881c944c501ce34c192d9853377e765385fc (patch)
treeaa9ca001a7d292efdc49792515c7a31b748decf6 /httpd.c
parentVersion 2.11 RELEASED. (diff)
downloadsnac2-bc5b881c944c501ce34c192d9853377e765385fc.tar.gz
snac2-bc5b881c944c501ce34c192d9853377e765385fc.tar.xz
snac2-bc5b881c944c501ce34c192d9853377e765385fc.zip
Serve the root and susie even if the query does not have an Accept header.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 0 insertions, 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,
28/* basic server services */ 28/* basic server services */
29{ 29{
30 int status = 0; 30 int status = 0;
31 char *acpt = xs_dict_get(req, "accept");
32
33 if (acpt == NULL)
34 return 0;
35 31
36 /* is it the server root? */ 32 /* is it the server root? */
37 if (*q_path == '\0') { 33 if (*q_path == '\0') {