X-Content-Type-Options
Response header, security
With the value nosniff, stops browsers from guessing a different content type than the one declared.
X-Content-Type-Options: nosniff
Without it, a browser might decide that an uploaded text file is really HTML or JavaScript and execute it. nosniff is the only valid value and there is no reason not to send it.
Recommended value
nosniff
Check it on a live site
The security header check grades this header together with the others that protect visitors.
Specification: Fetch Standard