classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Http headers


From: Michael Koch
Subject: Re: Http headers
Date: Tue, 20 Apr 2004 16:58:10 +0200
User-agent: KMail/1.5.4

Am Dienstag, 20. April 2004 16:40 schrieb Guilhem Lavaux:
> Michael Koch wrote:
> >Am Dienstag, 20. April 2004 09:15 schrieb Guilhem Lavaux:
> >>Hi,
> >>
> >>If you try the mauve test URLConnection/Http you may notice there
> >> is failure due to an unknown header "server" which should be
> >> "Server". Apparently to make the search throught header fields
> >> independent from the case we have using toLowerCase for all header
> >> keys and values: this is not right. I suggest we build keep the
> >> original value in the array in HeaderFieldHelper so we are able to
> >> return the exact value returned by the server.
> >
> >Do we have a mauve testcase for this ? Different http server may act
> >differently. I'm not sure this is bug in our implementation or in
> >mauve. I have locally changed mauve to make it pass.
>
> If you put "server" in mauve it will fail using JDK, if you put
> "Server" in mauve it will fail using Classpath for the same URL. But
> it is sure it depends on the server.

That is why I uses toLowerCase() in my local mauve test. I will 
investigate this further.


Michael





reply via email to

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