aboutsummaryrefslogtreecommitdiffstats
path: root/cqrlogo.c
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 /cqrlogo.c
parent7b79e28360e1b62dfbac95fd07d671be12697409 (diff)
downloadcqrlogo-70f829ba4ac126ade96a4438c6451e62f7c9dafd.tar.gz
cqrlogo-70f829ba4ac126ade96a4438c6451e62f7c9dafd.tar.zst
add some more HTTP headers
Diffstat (limited to 'cqrlogo.c')
-rw-r--r--cqrlogo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cqrlogo.c b/cqrlogo.c
index 9ba947d..80b57e0 100644
--- a/cqrlogo.c
+++ b/cqrlogo.c
@@ -102,7 +102,10 @@ int main(int argc, char **argv) {
}
/* print HTTP header */
- fputs(CQR_MIMEHEADER, stdout);
+ fputs(CQR_HEADER_CONTENT_TYPE, stdout);
+ fputs(CQR_HEADER_CONTENT_DISPOSITION, stdout);
+ fputs(CQR_HEADER_PRAGMA, stdout);
+ fputc('\n', stdout);
/* write PNG data to stdout */
if (fwrite(png->buffer, png->size, 1, stdout) != 1) {