This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Revive BadRequest() #888
Labels
Milestone
Comments
1 day |
javiercn
added a commit
that referenced
this issue
Aug 26, 2014
1. Added an HttpBadRequest() method on Controller. 2. Added an HttpBadRequestResult class that extends HttpStatusCodeResult and sets the status code to 400 following the similar pattern we do in HttpNotFoundResult. 3. Added a sample in MvcSample.Web and unit tests.
On hold until we decide if it should be included or not. |
We will do this as part of the Web API compat shim work. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bring it back as HttpBadRequest() for consistency with MVC
The text was updated successfully, but these errors were encountered: