Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.9.0
-
Component/s: Zend_Http_Client
-
Labels:None
Description
In order to use curl method like curl_getinfo, curl_error and curl_errno, I think it would be great to add this method to the Zend_Http_Client_Adapter_Curl class
public function getHandleRessource() { return $this->_curl; }
or directly multiple methods
public function getInfo() { return curl_getinfo($this->_curl); } public function getError() { return curl_error($this->_curl); } public function getErrno() { return curl_errno($this->_curl); }
Thanks
Added a method getHandle() on the cURL Adapter, which returns the current handle.