Hi Alex,

No problem, the "getValues(String name)" method is case insensitive. There
is also getValues(String, String, boolean) method which lets you control the
case sensitivity. 

Best regards,
Jerome  

> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la 
> part de Alex Milowski
> Envoyé : mercredi 4 avril 2007 08:14
> À : [email protected]
> Objet : Getting HTTP Headers - Case sensitive?
> 
> If I need to get a "Slug" header, I can do:
> 
>          Form headers =
> getRequest().getAttributes().get("org.restlet.http.headers");
>          String slug = headers.getValues("Slug");
> 
> but is that "Slug" or "slug" or does it not matter?  For a header, it
> should be case-insensitive.
> 
> --Alex Milowski

Reply via email to