users@jersey.java.net

[Jersey] Re: Question about Jersey 2.0 RC1 and Http protocol

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Fri, 17 May 2013 20:46:51 -0700

Hi Tony,

can you pls. provide more details how the request/response look like in
1.x and 2.x?
Would be also good to have the testcase.

Thanks.

WBR,
Alexey.

On 17.05.13 18:30, Tony Anecito wrote:
>> Hi All,
>>
>> I am having an issue with Jersey 2.0 RC1 working through a proxy and
>> I think I have narrowed it down to http protocol issue.
>>
>> First Jersey 1.17.1 works fine and Jersey 2.0 RC1 fails with invalid
>> protocol for the same exact request. Using Wireshark I found out
>> there is one very important difference between the two. Jersey 2.0
>> RC1 seems to use chunked encoding and Jersey 1.17.1 does not.
>>
>> So how do I turn chunked encoding when using Jersey 2.0 RC1 so I can
>> verify this oddity? What I want to see in Wireshark is content-length
>> header with the size for Jersey 2.0 RC1.
>>
>> Thanks!
>> -Tony
>