Set X-Content-Type-Options to exactly nosniff
Why it matters
nosniff is the only value browsers understand, so any other value is ignored and type guessing stays on. A second copy added by another layer often causes it.
The fix
- Find every layer that sets X-Content-Type-Options (application, plugin, web server, CDN) and keep one.
- Make its value exactly nosniff.
http
X-Content-Type-Options: nosniff Related
- Reported by the X-Content-Type-Options check
- Send X-Content-Type-Options nosniff
Scan your domain to see whether this applies to you.