You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contract of @RequestBody(required=true) not obeyed [SPR-11828] #16447
When I send a HTTP request with an empty body, the respective controller method is invoked with a null argument for the parameter annotated with @RequestBody. Instead, a HttpMessageNotReadableException should be thrown.
This may be a regression introduced by the fix of #14575. Note that fix removed the statement that threw HttpMessageNotReadableException.
Activity