-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Rossen Stoyanchev opened SPR-12861 and commented
An HttpEntity controller method argument should be able to handle the case when the request body is empty by setting the body to null. Instead depending on the HttpMessageConverter used, currently it may result in an HttpMessageNotReadableException that is translated to 400 by default.
Affects: 4.1.6
Issue Links:
- Contract of @RequestBody(required=true) not obeyed [SPR-11828] #16447 Contract of
@RequestBody(required=true) not obeyed - Re-allow handling empty request body [SPR-12778] #17376 Re-allow handling empty request body
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug