Skip to content

Instantly share code, notes, and snippets.

@sondreb
Last active August 29, 2015 14:02
Show Gist options
  • Save sondreb/210a38fd34912d662664 to your computer and use it in GitHub Desktop.
Save sondreb/210a38fd34912d662664 to your computer and use it in GitHub Desktop.
Add custom HTTP header to OWIN server
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