What the Main Headers Do
Content-Security-Policy (CSP) can restrict resource sources and other browser behavior. Strict-Transport-Security (HSTS) tells browsers to use HTTPS for future requests within its scope. X-Content-Type-Options: nosniff limits MIME-type guessing, while framing policies help control which pages can embed your content.
Referrer-Policy and Permissions-Policy control different browser disclosures and capabilities. Use OWASP’s Secure Headers guidance when choosing values for your application, rather than copying another site’s policies unchanged.