public function setupHttpClient(Zend_Http_Client $httpClient)
{
if (is_string($this->_currentContentType)) {
$httpClient->setEncType($this->_currentContentType);
} elseif (isset($this->getRestMethod()->contentType) && is_string($this->getRestMethod()->contentType)) {
$httpClient->setEncType($this->getRestMethod()->contentType);
} elseif ($this->getDefaultContentType()) {
$httpClient->setEncType($this->getDefaultContentType());
}
}