users@jersey.java.net

Re: Before I filing an issue, I would like to check with you

From: Dianne Jiao <Dianne.Jiao_at_Sun.COM>
Date: Mon, 10 Mar 2008 17:35:17 -0400

Thanks Marc.

Marc Hadley wrote:
> I just committed a fix, the code was looking for "Language" rather
> than "Content-Language".
>
> Marc.
>
> On Mar 10, 2008, at 4:25 PM, Dianne Jiao wrote:
>
>> Hi, Marc,
>>
>> Thanks for quik reply.
>>
>> Content-Language: en-us
>>
>> is set. See the third line of trace:
>>
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "GET
>> /jaxrs_rs_core_headersTest_web/HeadersTest HTTP/1.1[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "Accept: text/plain[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "Content-Language:
>> en-us[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "User-Agent: Jakarta
>> Commons-HttpClient/3.0[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "Host: localhost:8080[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - >> "[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "HTTP/1.1 200 OK[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "Server: GlassFish/v3[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "Content-Type:
>> text/plain[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "Content-Length: 16[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "Date: Mon, 10 Mar 2008
>> 20:21:01 GMT[\r][\n]"
>> 03-10-2008 16:21:01: TRACE: [WIRE] - << "nullgetLanguage="
>>
>> Dianne
>>
>> Marc Hadley wrote:
>>> Does your request have a Content-Language header - null is the
>>> correct return if that header isn't included.
>>>
>>> Marc.
>>>
>>> On Mar 10, 2008, at 12:13 PM, Dianne Jiao wrote:
>>>
>>>> Hi,
>>>>
>>>> I keep getting null return from
>>>>
>>>> HttpHeaders.getLanguage()
>>>>
>>>> I am using GlassFish. Did anyone run into this?
>>>>
>>>> Thanks.
>>>>
>>>> Dianne
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>>
>>>
>>> ---
>>> Marc Hadley <marc.hadley at sun.com>
>>> CTO Office, Sun Microsystems.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>