Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid content type for schema.js #4968

Closed
khamaileon opened this issue Mar 11, 2017 · 1 comment
Closed

Invalid content type for schema.js #4968

khamaileon opened this issue Mar 11, 2017 · 1 comment
Labels
Milestone

Comments

@khamaileon
Copy link

khamaileon commented Mar 11, 2017

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.
@tomchristie
Copy link
Member

tomchristie commented Mar 13, 2017

Thanks for the report!
Fixed the media type to application/javascript.

@tomchristie tomchristie added this to the 3.6.3 Release milestone Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants