| Author |
http header and cookie case sensitive
|
Tridib Samanta
Ranch Hand
Joined: Apr 28, 2004
Posts: 128
|
|
Hi All, Can anybody tell me, whether the http headers and cookie names are case sensitive or not?
|
Thanks, Tridib
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
|
 |
Nitesh Kant
Bartender
Joined: Feb 25, 2007
Posts: 1638
|
|
|
No they are not
|
apigee, a better way to API!
|
 |
Johan Pelgrim
Ranch Hand
Joined: Jul 07, 2003
Posts: 105
|
|
Yes they are! I had to rename all Cookie references to Kookie, so you must rename all Kookie's back to Cookie again to be able to run this code! That was the only way I could post the code! Try to run this servlet: With this listKookies.jsp-page: Output:
|
Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
|
 |
Nitesh Kant
Bartender
Joined: Feb 25, 2007
Posts: 1638
|
|
|
Oops, HTTP header names are case-insensitive.
|
 |
 |
|
|
subject: http header and cookie case sensitive
|
|
|