craftcms / nitro

Speedy local dev environment for @craftcms.
https://getnitro.sh
MIT License
178 stars 24 forks source link

Remove aggressive headers that cannot be overridden #449

Closed timkelty closed 2 years ago

timkelty commented 2 years ago

These headers are problematic for a few reasons:

Most of these issues appear with multisite and preview, as you're dealing with multiple domains. As a rule though, I don't think we should set any headers that could be set in PHP/Craft, as it means they cannot be overridden in the response.