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

ext/standard/http_fopen_wrapper.c

index bf5f9e89cb4aa858a8126271a43570a95750f6e9..c8ab32a3fcb71c126e07202c10eb3c69d3e4bcb5 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: