ZF-5438: Zend_Http_Client_Adapter_Socket doesn't understand Transfer-encoding "Chunked"

Issue Type: Bug Created: 2009-01-09T08:49:42.000+0000 Last Updated: 2009-07-31T18:51:43.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Konstantin Leboev (coldwind) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: Attachments: - patch.diff


According to standard HTTP/1.1 all transfer-coding values are case insensitive (…). But Zend_Http_Client_Adapter_Socket doesn't understand "Chunked" with first uppercased letter.

In the class there is simple compare $headers['transfer-encoding'] == 'chunked' (in method read()) without any respect to case insensitivity.


Posted by Alexey Simonenko (meritt) on 2009-05-18T12:57:14.000+0000

Patch resolves this issue for ZF 1.8.1

Posted by Shahar Evron (shahar) on 2009-07-24T00:07:55.000+0000

Thanks for the report and for the patch!

Patch applied + unit tests added in CS-17021

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.