ZF-5438: Zend_Http_Client_Adapter_Socket doesn't understand Transfer-encoding "Chunked"
Description
According to standard HTTP/1.1 all transfer-coding values are case insensitive (http://w3.org/Protocols/HTTP/…). 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.
Comments
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