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

Added default status code for mod_rewrite redirect #163

Closed mikaelm12 closed 7 years ago

mikaelm12 commented 7 years ago

Currently the middleware throws when there is no status code with the redirect flag. It should default to 302. Addresses https://github.com/aspnet/BasicMiddleware/issues/152 @BrennanConroy @Tratcher @natemcmaster

BrennanConroy commented 7 years ago

Also, @Tratcher mentioned in the issue that there are a couple values you can use instead of status codes

mikaelm12 commented 7 years ago

Closing this. Opened https://github.com/aspnet/BasicMiddleware/pull/164