From ec0b6b546620b1ea15b48d83e1ee8d9553b4ce94 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 29 Oct 2014 13:42:20 +0100 Subject: simplify Cache-control header --- lib/libcqrlogo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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" -- cgit v1.2.3-70-g09d2