From 70f829ba4ac126ade96a4438c6451e62f7c9dafd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 28 Oct 2014 11:02:01 +0100 Subject: add some more HTTP headers --- lib/libcqrlogo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h index 0a8429b..eb945b1 100644 --- a/lib/libcqrlogo.h +++ b/lib/libcqrlogo.h @@ -42,7 +42,9 @@ struct cqr_conf { bool overwrite; }; -#define CQR_MIMEHEADER "Content-Type: image/png\n\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" #define CQR_META_COMMENT 0x1 #define CQR_META_REFERER 0x2 -- cgit v1.2.3-70-g09d2