From 35773c060d15cffca085bc231045b39689720444 Mon Sep 17 00:00:00 2001 From: Eddie Kohler Date: Mon, 30 Sep 2024 10:50:34 -0400 Subject: [PATCH] Downloader: HEAD requests should also supply ETag --- lib/downloader.php | 1 + 1 file changed, 1 insertion(+) 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;