mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Merge pull request #34 from henriquebremenkanp/patch-1
Fix #26 by correcting HTTP Header
This commit is contained in:
commit
c3720e9014
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class PHPStreamer extends BaseStreamer implements StreamerInterface
|
|||
|
||||
// Send standard headers
|
||||
header("Content-Type: {$this->contentType}");
|
||||
header("Content-Length: $fileSize");
|
||||
header("Content-Length: $length");
|
||||
header('Content-Disposition: attachment; filename="'.basename($this->song->path).'"');
|
||||
header('Accept-Ranges: bytes');
|
||||
|
||||
|
|
Loading…
Reference in a new issue