Support for "Transfer-Encoding: chunked" in http stream wrapper
| From: | Dmitry Stogov | Date: | Tue, 14 Apr 2009 14:59:25 +0000 |
| Subject: | Support for "Transfer-Encoding: chunked" in http stream wrapper | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-43700@lists.php.net to get a copy of this message | ||
Hi,
The attached patch implements automatic decoding of chunked
transfer-encoding.
It fixes http://bugs.php.net/bug.php?id=47021 but
also affects all php
stream functions (e.g. file_get_contents("http://...");)
Some PHP applications which check for Transfer-Encoding HTTP header and
perform manual decoding might be broken.
Any objections against committing the patch into PHP_5_3?
My be someone has ideas about patch improvements?
Thanks. Dmitry.