diff options
| author | 2022-11-18 20:37:49 +0100 | |
|---|---|---|
| committer | 2022-11-18 20:37:49 +0100 | |
| commit | 3598e61d742ae7a8d43659ee4e63152cc328433d (patch) | |
| tree | b4a64c95ff55b6c94b077c348dcff25a43f4749e /httpd.c | |
| parent | Fixed crash when testing for the Accept header. (diff) | |
| parent | Serve the root and susie even if the query does not have an Accept header. (diff) | |
| download | snac2-3598e61d742ae7a8d43659ee4e63152cc328433d.tar.gz snac2-3598e61d742ae7a8d43659ee4e63152cc328433d.tar.xz snac2-3598e61d742ae7a8d43659ee4e63152cc328433d.zip | |
Merge branch 'master' of /home/angel/git/snac2
Diffstat (limited to 'httpd.c')
| -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, | |||
| 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') { |