aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-29 13:42:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-10-29 13:42:20 +0100
commitec0b6b546620b1ea15b48d83e1ee8d9553b4ce94 (patch)
tree1f61f8ff514ec32347bf336989437cb3e2926ea6
parentdd0d07ebf2b960f87bc4775aa61d051682fa6f94 (diff)
downloadcqrlogo-ec0b6b546620b1ea15b48d83e1ee8d9553b4ce94.tar.gz
cqrlogo-ec0b6b546620b1ea15b48d83e1ee8d9553b4ce94.tar.zst
simplify Cache-control header
-rw-r--r--lib/libcqrlogo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h
index 73ce149..718bdf4 100644
--- a/lib/libcqrlogo.h
+++ b/lib/libcqrlogo.h
@@ -42,7 +42,7 @@ struct cqr_conf {
bool overwrite;
};
-#define CQR_HEADER_CACHE_CONTROL "Cache-Control: no-cache\nCache-Control: max-age=0\n"
+#define CQR_HEADER_CACHE_CONTROL "Cache-Control: no-cache, max-age=0\n"
#define CQR_HEADER_CONTENT_TYPE "Content-Type: image/png\n"
#define CQR_HEADER_CONTENT_DISPOSITION "Content-Disposition: inline; filename=\"cqrlogo.png\"\n"
#define CQR_HEADER_PRAGMA "Pragma: no-cache\n"