src/Header.php
public static function contentType($type, $charset = 'utf-8'){
        $type = isset( self::$types[$type] ) ? self::$types[$type] : $type;
        self::set('Content-Type: '. $type. '; charset='. $charset);
    }
public static function contentType($type, $charset = 'utf-8'){
        $type = isset( self::$types[$type] ) ? self::$types[$type] : $type;
        self::set('Content-Type: '. $type. '; charset='. $charset);
    }
public static function contentType ( $ type , $ charset = 'utf-8' ) { $ type = isset ( self :: $ types [ $ type ] ) ? self :: $ types [ $ type ] : $ type ; self :: set ( 'Content-Type: ' . $ type . '; charset=' . $ charset ) ; }
Set HTTP Content-Type
@param string $type
@param string $charset
@return void
Set HTTP Content - Type