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

Url Rewrite custom response #56

Closed jkotalik closed 7 years ago

jkotalik commented 8 years ago

Currently not supporting custom responses for Url Rewrite Rules (part of the match). This feature seemed rarely used, but should be considered in the final implementation. Ex:

<action type="CustomResponse" statusCode="503"  
subStatusCode="0"  
statusReason="Site is unavailable"  
statusDescription="Site is down for maintenance" />  
mikaelm12 commented 7 years ago

Resolved in https://github.com/aspnet/BasicMiddleware/pull/200