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

Add rule to check the usage of the Content-Type HTTP response header #141

Closed
2 tasks done
alrra opened this issue Apr 18, 2017 · 0 comments
Closed
2 tasks done

Add rule to check the usage of the Content-Type HTTP response header #141

alrra opened this issue Apr 18, 2017 · 0 comments

Comments

@alrra
Copy link
Contributor

alrra commented Apr 18, 2017

  • Check if resources are served with correct media type.

    Note: In most cases the media type doesn’t matter, browser sniff the content, or simply don't care, but in some (e.g. 1, 2) they do!

  • Check if the charset parameter (i.e.: Content-Type:"text/html; charset=utf-8") is specified for text resources (e.g.: HTML, JS, CSS, JSON, XML, VTT, manifest files, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant