mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Add support of Partial content downloading
This commit is contained in:
parent
d34b83a0d5
commit
b3299725f6
3 changed files with 76 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue