This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/26487] Weird handling of HTTP Headers
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 28 Feb 2006 11:38:13 -0000
- Subject: [Bug libgcj/26487] Weird handling of HTTP Headers
- References: <bug-26487-12276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from mark at gcc dot gnu dot org 2006-02-28 11:38 -------
Confirmed. It looks like getHeader(int), getHeader(String) and getHeaders()
have slightly different semantics. Where the first should return the actual
n-th header field value only, the second should return the value of the last
header with that name and the third should return a list of all values for that
header.
This seems slightly related to the bug just fixed by David Daney (bug #25851).
Adding him and Chris to the CC since they might know more about how to adopt
the design to support all three different semantics efficiently.
P.S. The testcase will not work at the moment against classpath CVS since it is
using a https URL, but Raif already has a patch for that which should hopefully
go through all the testing soon.
--
mark at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dog at gnu dot org, mark at
| |gcc dot gnu dot org, ddaney
| |at avtrex dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-28 11:38:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26487