From: Ilia Alshanetsky Date: Sun, 26 Mar 2006 17:12:26 +0000 (+0000) Subject: MFB51: Fixed bug #36857 (Added support for partial content fetching to the X-Git-Tag: RELEASE_1_3~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bf02bde43c54ddb590687868c13f583a37ae9de;p=php MFB51: Fixed bug #36857 (Added support for partial content fetching to the HTTP streams wrapper). --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index bf5f9e89cb..c8ab32a3fc 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -493,6 +493,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 303: case 301: