[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11178] HttpURLConnection.getHeaderFields() returns St
From: |
Benja Fallenstein |
Subject: |
[commit-cp] [bugs #11178] HttpURLConnection.getHeaderFields() returns String->String rather than String->List |
Date: |
Tue, 30 Nov 2004 19:18:08 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11178] Latest Modifications:
Changes by:
Benja Fallenstein <address@hidden>
'Date:
Wed 12/01/2004 at 00:06 (Europe/Helsinki)
------------------ Additional Follow-up Comments ----------------------------
Note that this bug also applies to Classpath's HttpURLConnection implementation
-- but given that the old Classpath impl has just been replaced by the inetlib
impl, that's probably obvious ;-)
/**************************************************************************/
[bugs #11178] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11178>
Project: classpath
Submitted by: Benja Fallenstein
On: Tue 11/30/2004 at 22:57
Category: inetlib
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: HttpURLConnection.getHeaderFields() returns String->String rather
than String->List
Original Submission: URLConnection.getHeaderFields() is specified to return a
Map from Strings to Lists, since there can be more than one header field with
the same key (see
http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.html#getHeaderFields()).
Sun's implementation (ver 1.4.2_04) works that way. The Classpath
implementation returns a Map from Strings to Strings.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Wed 12/01/2004 at 00:06 By: Benja Fallenstein <benja>
Note that this bug also applies to Classpath's HttpURLConnection implementation
-- but given that the old Classpath impl has just been replaced by the inetlib
impl, that's probably obvious ;-)
File Attachments
-------------------
-------------------------------------------------------
Date: Tue 11/30/2004 at 22:57 Name: Test.java Size: 227B By: benja
Java program demonstrating the difference between Sun's JDK and Classpath
http://savannah.gnu.org/bugs/download.php?item_id=11178&item_file_id=1931
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11178>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/