get_content_type()
Returns: | Content-Type string |
---|---|
Return type: | string |
Returns the Content-Type HTTP header that’s currently in use, excluding the character set value.
$mime = $this->output->get_content_type();
Note
If not set, the default return value is ‘text/html’.
Please login to continue.