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
@RequestPart(...) MultipartFile[] does not work (List<MultipartFile works) [SPR-11353] #15978
This throws some HttpMediaTypeNotSupportedException, because it takes all data that comes within files[] and tries to convert it via HttpMessageConverters.
When using List instead of MultipartFile[] it works as expected.
And afterwards I get an HTTP 415 which says: Sent Content-Type "application/octet-stream" is not supported. Supported Content-Types are: "application/json;charset=UTF-8", "application/*+json;charset=UTF-8", "text/vcard", "application/octet-stream", "text/plain;charset=ISO-8859-1", "application/xml", "text/xml", "application/x-www-form-urlencoded", "application/*+xml", "multipart/form-data", "*/*"
Activity
spring-projects-issues commentedon Jan 24, 2014
Juergen Hoeller commented
Brian, this looks related to #15220 - may be easy enough to address for 4.0.1 still, along the same lines as your pull request back then?
Juergen
spring-projects-issues commentedon Jan 24, 2014
Brian Clozel commented
Sure!