The X-Content-Type-Options header in web security is used to prevent browsers from MIME-sniffing a response away from the specified content type. When set to the value nosniff, it instructs the browser not to override the Content-Type header set by the server, mitigating potential MIME-based attacks. This protection ensures that web resources are served and interpreted strictly as intended by the server.


Everything is ok

Header Value
X-Content-Type-Options nosniff

The required header is present.

When the "nosniff" value is present in the X-Content-Type-Options HTTP header, it instructs the browser to strictly adhere to the MIME type specified in the Content-Type header and not attempt to guess or sniff the MIME type. This enhances security by preventing the browser from misinterpreting the content type of a resource, which can protect against certain types of attacks like Cross-Site Scripting (XSS) and code injection. Essentially, it ensures that browsers handle and execute content only as explicitly declared, reducing the risk of malicious content being executed.