]> granicus.if.org Git - php/commitdiff
Fixed bug #36857 (Added support for partial content fetching to the HTTP
authorIlia Alshanetsky <iliaa@php.net>
Sun, 26 Mar 2006 17:12:05 +0000 (17:12 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 26 Mar 2006 17:12:05 +0000 (17:12 +0000)
streams wrapper).

NEWS
ext/standard/http_fopen_wrapper.c

diff --git a/NEWS b/NEWS
index 73b40f5604ef6c509aff607bc37f5ecf5933cc5a..615dcd0afeacfa2e046ab82c4d7da485f35d8aa8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ PHP                                                                        NEWS
 - Fixed SoapFault::getMessage(). (Dmitry)
 - Fixed bug #36859 (DOMElement crashes when calling __construct when 
   clone'ing). (Tony)
+- Fixed bug #36857 (Added support for partial content fetching to the HTTP
+  streams wrapper). (Ilia)
 - Fixed bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause 
   segfault). (Tony)
 - Fixed bug #36820 (Privileged connection with an Oracle password file fails). 
index 0c64746f8aa9e97e7bb0071f7332231724f17065..04231cf6b991ffa9631ff191bc7da94db1c29664 100644 (file)
@@ -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: