This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/26487] Weird handling of HTTP Headers



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]