Skip to content

Commit a33d64e

Browse files
author
Ilia Alshanetsky
committed
Fixed bug #36857 (Added support for partial content fetching to the HTTP
streams wrapper).
1 parent a824bcf commit a33d64e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ PHP NEWS
1313
- Fixed SoapFault::getMessage(). (Dmitry)
1414
- Fixed bug #36859 (DOMElement crashes when calling __construct when
1515
clone'ing). (Tony)
16+
- Fixed bug #36857 (Added support for partial content fetching to the HTTP
17+
streams wrapper). (Ilia)
1618
- Fixed bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause
1719
segfault). (Tony)
1820
- Fixed bug #36820 (Privileged connection with an Oracle password file fails).

ext/standard/http_fopen_wrapper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
493493
}
494494
switch(response_code) {
495495
case 200:
496+
case 206: /* partial content */
496497
case 302:
497498
case 303:
498499
case 301:

0 commit comments

Comments
 (0)