X-Content Type Options
Learn how the X-Content-Type-Options header prevents MIME sniffing and enforces strict content-type handling in the browser.
X-Content-Type-Options adds the X-Content-Type-Options header to viewer-facing responses. When enabled, browsers that support this header use the declared Content-Type instead of attempting to infer the content type from the response body.
You can configure X-Content-Type-Options in the Medianova Control Panel or via the API.
Configure X-Content-Type-Options
Behavior
When X-Content-Type-Options is enabled:
The CDN adds
X-Content-Type-Options: nosniffto viewer-facing responses.Supporting browsers use the
Content-Typedeclared by the server instead of attempting to infer a different content type from the response body.The setting does not modify the
Content-Typevalue itself.The setting affects viewer-facing responses only and does not affect origin requests or CDN caching behavior.
When X-Content-Type-Options is disabled, the CDN does not add this header through this feature.
Last updated
Was this helpful?