aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-29 13:34:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-10-29 13:34:19 +0100
commitdd0d07ebf2b960f87bc4775aa61d051682fa6f94 (patch)
tree9c958d69c62f988187cc1c127758b4b3ce2b6897 /lib
parent868248b043aa569e7e429a7831e3f5d6a4935e7a (diff)
downloadcqrlogo-dd0d07ebf2b960f87bc4775aa61d051682fa6f94.tar.gz
cqrlogo-dd0d07ebf2b960f87bc4775aa61d051682fa6f94.tar.zst
add some more HTTP headers
Diffstat (limited to 'lib')
-rw-r--r--lib/libcqrlogo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h
index eb945b1..73ce149 100644
--- a/lib/libcqrlogo.h
+++ b/lib/libcqrlogo.h
@@ -42,6 +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_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"