]> granicus.if.org Git - php/commit
- Added "dechunk" filter which can decode HTTP responces with chunked transfer-encodi...
authorDmitry Stogov <dmitry@php.net>
Thu, 16 Apr 2009 10:34:15 +0000 (10:34 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 16 Apr 2009 10:34:15 +0000 (10:34 +0000)
commit701fe7630e7c398a3d159525633d7981dfe883ba
tree8f69a3e3269ee64ba447beaeb362be8bc27482b6
parentb790f4e565e0b5587fdb96333e3243e826c264b6
- Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
ext/standard/filters.c
ext/standard/http_fopen_wrapper.c
ext/standard/tests/filters/chunked_001.phpt [new file with mode: 0644]