ZF-5577: Zend_Config support in Zend_Http_Client

Issue Type: Improvement Created: 2009-01-18T09:38:34.000+0000 Last Updated: 2009-07-24T05:24:44.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Matthew Turland (elazar) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: Attachments:


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.

<pre class="highlight">
if ($config instanceof Zend_Config) {
    $config = $config->toArray();
} elseif (!is_array($config) {
    // ...


Posted by Shahar Evron (shahar) on 2009-07-24T03:52:39.000+0000

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

Posted by Shahar Evron (shahar) on 2009-07-24T05:24:43.000+0000

Fully implemented (incl. adapters) in rev. 17030

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.