Last active
August 29, 2015 14:02
-
-
Save sondreb/210a38fd34912d662664 to your computer and use it in GitHub Desktop.
Add custom HTTP header to OWIN server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options.StaticFileOptions.OnPrepareResponse = _ => { _.OwinContext.Response.Headers.Add("X-UA-Compatible", new string[] { "IE=edge" }); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment