Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Config HTTP headers. Adds X-Content-Type-Options and remove X-Powered-By for every request and X-UA-Compatible for views.
<!DOCTYPE html>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<clear />
<add name="X-Content-Type-Options" value="nosniff" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.