HTTP · Cookies, CORS and security headers
Strict-Transport-Security: force HTTPS
Tells browsers to use HTTPS only for this site for a year.
Strict-Transport-Security: max-age=31536000; includeSubDomains
More cookies, cors and security headers commands
- Set a secure session cookie
- Allow a cross-origin site (CORS)
- Answer a CORS preflight
- Content-Security-Policy: limit what loads
- X-Content-Type-Options: stop type guessing
- Block clickjacking
All cookies, cors and security headers commands · HTTP cheatsheet