Browse Source

Serve the root and susie even if the query does not have an Accept header.

default 3 years ago
parent
commit
bc5b881c94
1 changed files with 0 additions and 4 deletions
  1. 0 4
      httpd.c

+ 0 - 4
httpd.c

@@ -28,10 +28,6 @@ int server_get_handler(d_char *req, char *q_path,
 /* basic server services */
 /* basic server services */
 {
 {
     int status = 0;
     int status = 0;
-    char *acpt = xs_dict_get(req, "accept");
-
-    if (acpt == NULL)
-        return 0;
 
 
     /* is it the server root? */
     /* is it the server root? */
     if (*q_path == '\0') {
     if (*q_path == '\0') {