Skip to content

Commit

Permalink
Downloader: HEAD requests should also supply ETag
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 30, 2024
1 parent 798b659 commit 35773c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35773c0

Please sign in to comment.