users@grizzly.java.net

Re: Embedded Grizzly Header Names

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 30 Mar 2010 11:23:15 +0200

Hi Jason,

would it be enough for you to get "TranckingID", when requesting
request.getHeaderNames(), because when you'll do "get" for concrete
header - request.getHeader("tranckingid") - it will be still case
insensitive and still work.

WBR,
Alexey.

On Mar 29, 2010, at 20:55 , Jason Morefield wrote:

> Hello,
>
> Is there a way to have the embedded Grizzly web server preserver
> the case of header names? For Example if I have a header which is
> being sent as "TrackingID" from the client, my adapter is getting
> "trackingid". Is there a way to preserve the case so that my
> adapter receives "TrackingID" still? I know that HTTP headers are
> case insensitive, but for a specific application this would be a
> huge help. I'm using Grizzly version 1.9.18-k, using the default
> GrizzlyWebServer. If it cannot be done with configuration, any
> pointers on the best place to insert code into the chain somewhere
> to get this accomplished?
>
> Thanks,
>
> Jason Morefield
> jmorefield_at_expedia.com
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>