HTTP · Cookies, CORS and security headers
X-Content-Type-Options: stop type guessing
Stops browsers guessing a file's type from its content.
X-Content-Type-Options: nosniff
More cookies, cors and security headers commands
- Set a secure session cookie
- Allow a cross-origin site (CORS)
- Answer a CORS preflight
- Strict-Transport-Security: force HTTPS
- Content-Security-Policy: limit what loads
- Block clickjacking
All cookies, cors and security headers commands · HTTP cheatsheet