示例#1
0
 /**
  * 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 (count($this->responseAttachments) > 0) {
         return $this->mimeContentType;
     }
     return parent::getHTTPContentType();
 }