aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-28 11:02:01 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-10-28 11:02:01 +0100
commit70f829ba4ac126ade96a4438c6451e62f7c9dafd (patch)
tree782b1fb29c83e558a6c75b5d47202bc8d836d537 /lib
parent7b79e28360e1b62dfbac95fd07d671be12697409 (diff)
downloadcqrlogo-70f829ba4ac126ade96a4438c6451e62f7c9dafd.tar.gz
cqrlogo-70f829ba4ac126ade96a4438c6451e62f7c9dafd.tar.zst
add some more HTTP headers
Diffstat (limited to 'lib')
-rw-r--r--lib/libcqrlogo.h4
1 files changed, 3 insertions, 1 deletions
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