Ejemplo n.º 1
0
 /**
  * gets the HTTP content type for the current request.
  *
  * Note: getHTTPBody must be called before this.
  *
  * @return string the HTTP content type for the current request.
  * @access private
  */
 function getHTTPContentType()
 {
     if (count($this->requestAttachments) > 0) {
         return $this->mimeContentType;
     }
     return parent::getHTTPContentType();
 }