function getHTTPContentType() { if (count($this->responseAttachments) > 0) { return $this->dimeContentType; } return parent::getHTTPContentType(); }
/** * gets the HTTP content type for the current response. * * Note: getHTTPBody must be called before this. * * @return string the HTTP content type for the current response. * @access private */ function getHTTPContentType() { if (!empty($this->responseAttachments)) { return $this->mimeContentType; } return parent::getHTTPContentType(); }