commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hakju Oh (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FILEUPLOAD-204) FileItem.getHeaders() returns always null.
Date Wed, 08 Feb 2012 11:02:57 GMT
FileItem.getHeaders() returns always null.
------------------------------------------

                 Key: FILEUPLOAD-204
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-204
             Project: Commons FileUpload
          Issue Type: Bug
    Affects Versions: 1.2.2
         Environment: FileItem.getHeaders() returns always null.

See below description.

            Reporter: Hakju Oh


{code:title=FileUploadBase.java|borderStyle=solid}
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();
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message