Index: Client.php =================================================================== --- Client.php (revision 24211) +++ Client.php (working copy) @@ -98,7 +98,7 @@ * @throws Zend_Rest_Client_Exception * @return void */ - final private function _prepareRest($path) + private function _prepareRest($path) { // Get the URI object and configure it if (!$this->_uri instanceof Zend_Uri_Http) { @@ -129,7 +129,7 @@ * @throws Zend_Http_Client_Exception * @return Zend_Http_Response */ - final public function restGet($path, array $query = null) + public function restGet($path, array $query = null) { $this->_prepareRest($path); $client = self::getHttpClient(); @@ -167,7 +167,7 @@ * @throws Zend_Http_Client_Exception * @return Zend_Http_Response */ - final public function restPost($path, $data = null) + public function restPost($path, $data = null) { $this->_prepareRest($path); return $this->_performPost('POST', $data); @@ -181,7 +181,7 @@ * @throws Zend_Http_Client_Exception * @return Zend_Http_Response */ - final public function restPut($path, $data = null) + public function restPut($path, $data = null) { $this->_prepareRest($path); return $this->_performPost('PUT', $data); @@ -194,10 +194,10 @@ * @throws Zend_Http_Client_Exception * @return Zend_Http_Response */ - final public function restDelete($path) + public function restDelete($path, $data = null) { $this->_prepareRest($path); - return self::getHttpClient()->request('DELETE'); + return $this->_performPost('DELETE', $data); } /**