From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19506 invoked by alias); 28 Feb 2006 11:38:15 -0000 Received: (qmail 19484 invoked by uid 48); 28 Feb 2006 11:38:13 -0000 Date: Tue, 28 Feb 2006 11:38:00 -0000 Message-ID: <20060228113813.19483.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/26487] Weird handling of HTTP Headers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "mark at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q1/txt/msg00248.txt.bz2 List-Id: ------- 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