Add support of Partial content downloading

This commit is contained in:
RainLoop Team 2016-04-27 02:53:44 +03:00
parent d34b83a0d5
commit b3299725f6
3 changed files with 76 additions and 6 deletions

View file

@ -753,14 +753,16 @@ class Http
if (99 < $iStatus)
{
$aStatus = array(
200 => 'OK',
206 => 'Partial Content',
301 => 'Moved Permanently',
304 => 'Not Modified',
200 => 'OK',
400 => 'Bad Request',
401 => 'Unauthorized',
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed'
405 => 'Method Not Allowed',
416 => 'Requested range not satisfiable'
);
$sCustomStatusText = \trim($sCustomStatusText);