From 08d5a11a0806713ead3c0928123c3ceb0c296d18 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 12 Mar 2022 11:56:10 +0100 Subject: set proper Content-Type --- mirror.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mirror.php b/mirror.php index 02cd4d3..763bf47 100644 --- a/mirror.php +++ b/mirror.php @@ -86,6 +86,7 @@ ); } else { + header("Content-Type: ".mime_content_type($pfad)); header('Content-Length: ' . $stat['size']); $handle = fopen($pfad,"r"); fpassthru($handle); -- cgit v1.2.3-70-g09d2