diff options
author | default <nobody@localhost> | 2022-11-18 19:44:43 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-18 19:44:43 +0100 |
commit | bc5b881c944c501ce34c192d9853377e765385fc (patch) | |
tree | aa9ca001a7d292efdc49792515c7a31b748decf6 | |
parent | 0644518fd5d8aa1124af904c08e2c92bc45c499d (diff) |
Serve the root and susie even if the query does not have an Accept header.
-rw-r--r-- | httpd.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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') { |