Fixed serving content w/o ranges caused errors

This commit is contained in:
rr- 2016-03-10 14:36:18 +01:00
parent f8514bfdc7
commit f12ce7a7c5

View file

@ -50,6 +50,7 @@ class NetworkingService
$this->httpHelper->setHeader('Content-Length', $fileSize);
$this->httpHelper->setResponseCode(200);
readfile($fullPath);
exit;
}
list ($param, $range) = explode('=', $range);