import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -227,6 +227,7 @@ class Zend_Rest_Client extends Zend_Service_Abstract
|
||||
$this->_data['rest'] = 1;
|
||||
$data = array_slice($args, 1) + $this->_data;
|
||||
$response = $this->{'rest' . $method}($args[0], $data);
|
||||
$this->_data = array();//Initializes for next Rest method.
|
||||
return new Zend_Rest_Client_Result($response->getBody());
|
||||
} else {
|
||||
// More than one arg means it's definitely a Zend_Rest_Server
|
||||
|
Reference in New Issue
Block a user