Invalid content type for schema.js · Issue #4968 · encode/django-rest-framework (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@khamaileon

Description

@khamaileon

The browser throws this error when SECURE_CONTENT_TYPE_NOSNIFF is enable.

Refused to execute script from 'http://127.0.0.1:8000/docs/schema.js' because its MIME type ('script/javascript') is not executable, and strict MIME type checking is enabled.

Metadata

Metadata

Labels

Development

No branches or pull requests

Issue actions