src/Ubiquity/utils/http/UResponse.php
public static function setContentType($contentType, $encoding = null) {
		$value = $contentType;
		if (isset ( $encoding ))
			$value .= ' ;charset=' . $encoding;
		self::header ( 'Content-Type', $value );
	}
public static function setContentType($contentType, $encoding = null) {
		$value = $contentType;
		if (isset ( $encoding ))
			$value .= ' ;charset=' . $encoding;
		self::header ( 'Content-Type', $value );
	}
public static function setContentType ( $ contentType , $ encoding = null ) { $ value = $ contentType ; if ( isset ( $ encoding ) ) $ value .= ' ;charset=' . $ encoding ; self :: header ( 'Content-Type' , $ value ) ; }
Sets header content-type

@param string $contentType
@param string $encoding
Sets header content - type