Spring Boot MultipartResolver is missing on PUT method
The multipart support as used by Spring doesn't support other request method then POST
. For the StandardServletMultipartResolver
this is hardcoded in that class.
For the CommonsMultipartResolver
it is hardcoded in the ServletFileUpload
utility class from the Apache Commons Fileupload project.
Tthe Form-based File Upload in HTML (RFC1867) isn't really explicit about this but the only mention of a used HTTP method is POST.
In short, at the moment only POST is supported by the frameworks you might be able to work around it by reimplemening some classes but if it works (especially with the default Servlet 3.0 file upload support) might depend on your container.