aspnet / BasicMiddleware

[Archived] Basic middleware components for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
169 stars 84 forks source link

Add logging to HttpsPolicy middleware #278

Closed jkotalik closed 6 years ago

jkotalik commented 6 years ago

Logging:

nbarbettini commented 6 years ago

There is some logging now in HttpsRedirectionMiddleware, but not in HstsMiddleware. It would definitely be useful when trying to figure out why the header is or isn't being returned. I'll work up a PR.