commit-classpath
[Top][All Lists]
Advanced

[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 18:03:24 -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] 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.





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&amp;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/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]