From: Ilia Alshanetsky Date: Sun, 26 Mar 2006 17:12:57 +0000 (+0000) Subject: MFH: Fixed bug #36857 (Added support for partial content fetching to the X-Git-Tag: php-4.4.3RC1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25a03fe695133ea97ceb76c4275bc328b8ab826e;p=php MFH: Fixed bug #36857 (Added support for partial content fetching to the HTTP streams wrapper). --- diff --git a/NEWS b/NEWS index 7181fe0b6d..50bf13ab89 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ PHP 4 NEWS - Updated PCRE to version 6.6. (Andrei) - Added overflow checks to wordwrap() function. (Ilia) - Added a check for special characters in the session name. (Ilia) +- Fixed bug #36857 (Added support for partial content fetching to the HTTP + streams wrapper). (Ilia) - Fixed bug #36776 (node_list_wrapper_dtor segfault). (Rob) - Fixed bug #36459 (Incorrect adding PHPSESSID to links, which contains \r\n). (Ilia) diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 30436777db..1df04b4928 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -353,6 +353,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, } switch(response_code) { case 200: + case 206: /* partial content */ case 302: case 301: reqok = 1;