Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.2
-
None
-
FileItem.getHeaders() returns always null.
See below description.
Description
FileUploadBase.java
1016: currentItem = new FileItemStreamImpl(fileName, 1017: fieldName, headers.getHeader(CONTENT_TYPE), 1018: fileName == null, getContentLength(headers)); currentItem.setHeaders(headers); // To fix this bug. 1019: notifier.noteItem(); 1026: currentItem = new FileItemStreamImpl(fileName, 1027: currentFieldName, 1028: headers.getHeader(CONTENT_TYPE), 1029: false, getContentLength(headers)); currentItem.setHeaders(headers); // Here too. 1030: notifier.noteItem();