From eea8196689c02db2001e5341be4076335081126a Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 13 Jan 2015 22:14:33 +0100 Subject: updated MIME type to octet-stream Signed-off-by: Olivier Gayot --- PHP_DW.php | 1 + 1 file changed, 1 insertion(+) (limited to 'PHP_DW.php') 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'); -- cgit v1.2.3