summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-04-14 13:05:50 +0200
committerGravatar default2024-04-14 13:05:50 +0200
commitad4199de75277c71b121973d9aef8176cb28fea3 (patch)
tree5b778faa90b180f9c5e717f4b7c6cf01be0095e6
parentCommented out received unboosts (see code for an explanation). (diff)
parentMerge pull request 'Prevent some browsers from caching servers basic auth req... (diff)
downloadsnac2-ad4199de75277c71b121973d9aef8176cb28fea3.tar.gz
snac2-ad4199de75277c71b121973d9aef8176cb28fea3.tar.xz
snac2-ad4199de75277c71b121973d9aef8176cb28fea3.zip
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
-rw-r--r--httpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 51ed1a2..e402e61 100644
--- a/httpd.c
+++ b/httpd.c
@@ -388,6 +388,7 @@ void httpd_connection(FILE *f)
388 body, xs_dict_get(srv_config, "host")); 388 body, xs_dict_get(srv_config, "host"));
389 389
390 headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); 390 headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
391 headers = xs_dict_append(headers, "Cache-Control", "no-cache, must-revalidate, max-age=0");
391 } 392 }
392 393
393 if (ctype == NULL) 394 if (ctype == NULL)