* 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. |
||
|---|---|---|
| .. | ||
| ModelBinding | ||
* 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. |
||
|---|---|---|
| .. | ||
| ModelBinding | ||