diff --git a/lib/downloader.php b/lib/downloader.php index dc89f6497..db9db6f98 100644 --- a/lib/downloader.php +++ b/lib/downloader.php @@ -351,6 +351,7 @@ private function run_output_ranges() { self::emit_header("Content-Type: {$this->mimetype}"); self::emit_header("Content-Length: {$clen}"); self::emit_header("Accept-Ranges: bytes"); + $this->emit_main_headers(); return; } else if (!isset($range)) { $outsize = $clen;