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
Currently @RequestPart(required=false) works as expected only if the part is missing altogether. It should also work if the part is present but the content is empty. Instead currently, depending on the specific HttpMessageConverter used, it may result in an HttpMessageNotReadableException instead of null.
Rossen Stoyanchev opened SPR-12860 and commented
Currently
@RequestPart
(required=false) works as expected only if the part is missing altogether. It should also work if the part is present but the content is empty. Instead currently, depending on the specific HttpMessageConverter used, it may result in an HttpMessageNotReadableException instead of null.Affects: 4.1.6
Issue Links:
@RequestBody
(required=true) not obeyedThe text was updated successfully, but these errors were encountered: