Issues

ZF-5577: Zend_Config support in Zend_Http_Client

Description

A grep on the root of the Zend directory shows that Zend_Http_Client and its Test and Socket adapter classes and Interface adapter interface are among a small few components that do not currently support receiving a Zend_Config instance via their setConfig methods. This capability should be as simple as adding a check similar to the following and updating docblocks accordingly.


if ($config instanceof Zend_Config) {
    $config = $config->toArray();
} elseif (!is_array($config) {
    // ...
}

Comments

Partially implemented in rev. 17027 - still need to implement on Adapters

Fully implemented (incl. adapters) in rev. 17030