ServletFileUpload isMultipartContent method does not support HTTP PUT
---------------------------------------------------------------------
Key: FILEUPLOAD-197
URL: https://issues.apache.org/jira/browse/FILEUPLOAD-197
Project: Commons FileUpload
Issue Type: Bug
Affects Versions: 1.2.1
Reporter: David Wolverton
This method explicitly checks for method POST. I believe the PUT method can
also have multipart requests, and there may be others. In our case we are
receiving rest calls using Spring Framework's CommonsMultipartResolver which in
turn uses this method of the Commons FileUpload library.
Here is the offending code...
if (!"post".equals(request.getMethod().toLowerCase())) {
return false;
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira