Response
Content-Type
Indicates the media type of the response body, telling the browser how to interpret and display the content.
Syntax
Content-Type: <media-type>; charset=<encoding>
Example
Content-Type: text/html; charset=UTF-8
Description
Content-Type specifies the MIME type and character encoding of the response body. One of the most fundamental HTTP headers.
Consists of a media type (e.g., text/html, application/json) and optionally a charset parameter.
Incorrect Content-Type can cause rendering issues and security vulnerabilities. Always set it explicitly with X-Content-Type-Options: nosniff.
Check if your website sends this header correctly
Check your headers →