Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 492D8D7EB for ; Thu, 7 Mar 2013 08:46:19 +0000 (UTC) Received: (qmail 49004 invoked by uid 500); 7 Mar 2013 08:46:18 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48780 invoked by uid 500); 7 Mar 2013 08:46:18 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 48473 invoked by uid 99); 7 Mar 2013 08:46:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 08:46:17 +0000 Date: Thu, 7 Mar 2013 08:46:17 +0000 (UTC) From: "Simone Tripodi (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FILEUPLOAD-204) FileItem.getHeaders() returns always null. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FILEUPLOAD-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi resolved FILEUPLOAD-204. --------------------------------------- Resolution: Fixed This is already fixed in trunk, download will be available as soon as 1.3 will be released > 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 > Assignee: Jochen Wiedmann > Fix For: 1.3 > > > {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 For more information on JIRA, see: http://www.atlassian.com/software/jira