* Add an UnsupportedContentType to the ModelState dictionary when no formatter can read the body. * Add a filter to the pipeline that searches for that specific exception and transforms the response into 415. |
||
|---|---|---|
| .. | ||
| DataContractSerializerController.cs | ||
| HomeController.cs | ||
| InputFormatterController.cs | ||
| JsonFormatterController.cs | ||
| RespectBrowserAcceptHeaderController.cs | ||
| SerializableErrorController.cs | ||
| StreamController.cs | ||
| ValidationController.cs | ||
| XmlSerializerController.cs | ||