diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-03-26 17:12:57 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-03-26 17:12:57 +0000 |
commit | 25a03fe695133ea97ceb76c4275bc328b8ab826e (patch) | |
tree | 52b49b2e8d6016220887fbe542079781fd7f37e8 | |
parent | 303cd902ecfed71e00cf4200947de70031721f77 (diff) | |
download | php-git-25a03fe695133ea97ceb76c4275bc328b8ab826e.tar.gz |
MFH: Fixed bug #36857 (Added support for partial content fetching to the
HTTP streams wrapper).
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | ext/standard/http_fopen_wrapper.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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; |