You shouldn't rely on case in HTTP header names. HTTP header names are case
insensitive.

_______________________
David Holscher 

"It is a painful thing to look at your own trouble and know that you
yourself and no one else has made it." - Sophocles, Ajax, c. 450 B.C. 



> -----Original Message-----
> From: William Au [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 26, 2001 10:33 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.x vs 4.0 - HTTP header names
> 
> 
> I just noticed that in Tomcat 4.0, the HTTP header names as 
> obtained by
> request.getHeaderNames() are all lower case, even if the 
> original header
> names being sent are all upper case or mixed case.
> 
> It seems to me the Tomcat 4.0 is converting the header names 
> to all lower case.
> Tomcat 3.x perserver the original case of the header names.
> 
> Is this normal?  Is there anyway to keep the original case of 
> the header names?
> 
> Bill
> 

Reply via email to