Re: [PHP-DEV] Support for Transfer-Encoding: chunked in http stream wrapper

2009-04-15 Thread Arnaud Le Blanc
Hi,

On Tue, 2009-04-14 at 18:59 +0400, Dmitry Stogov wrote:
 Some PHP applications which check for Transfer-Encoding HTTP header and 
 perform manual decoding might be broken.

What about not adding the Transfer-Encoding header to wrapper_data ?
(not making it visible so that scripts would not break). Also,
re-enabling the filters list in stream_get_meta_data() so that one can
know that the dechunk filter has been added.

Regards,

Arnaud



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Support for Transfer-Encoding: chunked in http stream wrapper

2009-04-15 Thread Dmitry Stogov

I sent a new version of patch with these features a minute ago :)

Thanks. Dmitry.

Arnaud Le Blanc wrote:

Hi,

On Tue, 2009-04-14 at 18:59 +0400, Dmitry Stogov wrote:
Some PHP applications which check for Transfer-Encoding HTTP header and 
perform manual decoding might be broken.


What about not adding the Transfer-Encoding header to wrapper_data ?
(not making it visible so that scripts would not break). Also,
re-enabling the filters list in stream_get_meta_data() so that one can
know that the dechunk filter has been added.

Regards,

Arnaud




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php