Explorar o código

Merge branch 'master' of grunfink-codeberg:grunfink/snac2

default %!s(int64=2) %!d(string=hai) anos
pai
achega
ad4199de75
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      httpd.c

+ 1 - 0
httpd.c

@@ -388,6 +388,7 @@ void httpd_connection(FILE *f)
                                 body, xs_dict_get(srv_config, "host"));
 
         headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
+        headers = xs_dict_append(headers, "Cache-Control", "no-cache, must-revalidate, max-age=0");
     }
 
     if (ctype == NULL)