* 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. |
||
|---|---|---|
| .. | ||
| ConsumesAttribute_NoFallBackActionController.cs | ||
| ConsumesAttribute_OveridesBaseController.cs | ||
| ConsumesAttribute_OveridesController.cs | ||
| ConsumesAttribute_PassThroughController.cs | ||
| ConsumesAttribute_WithFallbackActionController.cs | ||