summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-13 22:14:33 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-13 22:14:33 +0100
commiteea8196689c02db2001e5341be4076335081126a (patch)
tree4511448e1eeb1715fe038a8c03b718b5627ee86a
parent3abef20b2a0ecaeff1877eb3d10bb12338041c49 (diff)
updated MIME type to octet-streamHEADmaster
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r--PHP_DW.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/PHP_DW.php b/PHP_DW.php
index afab7f1..5f052db 100644
--- a/PHP_DW.php
+++ b/PHP_DW.php
@@ -63,6 +63,7 @@ class PHP_DW {
header('Content-Description: File Transfer');
header('Content-Disposition: attachment; filename=' . $filename);
+ header('Content-Type: application/octet-stream');
header('Content-Length: '. $fstats['size']);
header('Cache-Control: private');