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 support for the CustomResponse action in Url Rewrite #135

Closed mikaelm12 closed 7 years ago

mikaelm12 commented 7 years ago

A CustomResponse action causes the URL Rewrite Module to respond to the HTTP client by using a user-specified status code, subcode, and reason. Use of a CustomResponse action implies that no subsequent rules are evaluated for the current URL after this action is performed. CustomResponse action has the following configuration options:

  • statusCode – Specifies the status code to use in response to the client.
  • subStatusCode – Specifies the substatus code to use in response to the client.
  • statusReason – Specifies the reason phrase to use with the status code.
  • statusDescription – Specifies the one line description to put in the body of the response.
davidpeden3 commented 7 years ago

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

davidpeden3 commented 7 years ago

duplicate https://github.com/aspnet/BasicMiddleware/issues/56

mikaelm12 commented 7 years ago

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