Misleading error message in HandlerMethodInvoker.resolveRequestBody() [SPR-5767] #10437
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Kenny MacLeod opened SPR-5767 and commented
Line 450 of HandlerMethodInvoker.resolveRequestBody throws the exception "Cannot extract response" when it fails to find a content type in the inbound request.
As well as the message itself being confusing, is the check itself really necessary? If there are HttpMessageConverters present that do not care about the content type, should the framework be enforcing it?
Affects: 3.0 M3
Referenced from: commits d7d1ae8
1 votes, 1 watchers
The text was updated successfully, but these errors were encountered: