src/Http/Models/En_HttpResponse.php
public function setContentType($contentType, $charset=NULL){
        $this->setHeader("Content-Type", $contentType);
        if($charset != NULL){
            $this->setHeader("charset", $charset);
        }
    }
public function setContentType($contentType, $charset=NULL){
        $this->setHeader("Content-Type", $contentType);
        if($charset != NULL){
            $this->setHeader("charset", $charset);
        }
    }
public function setContentType ( $ contentType , $ charset = NULL ) { $ this -> setHeader ( "Content-Type" , $ contentType ) ; if ( $ charset != NULL ) { $ this -> setHeader ( "charset" , $ charset ) ; } }
Setea el tipo de contenido a enviar
@param string $contentType
@param string $charset
Setea el tipo de contenido a enviar