users@jersey.java.net

[Jersey] Re: Jersey client and chunked encoding vs. Content-Length

From: youngl <youngl_at_gmail.com>
Date: Wed, 25 Jan 2012 20:30:08 -0800 (PST)

Hi,

I recently went through a similiar experience. I found that if u set the
Content-Type to application/octet-stream, then the Jersey MessageWriter for
the application/octet-stream will set the Content-Length and
not send as chunked transport method.


--
View this message in context: http://jersey.576304.n2.nabble.com/Jersey-client-and-chunked-encoding-vs-Content-Length-tp7201395p7225976.html
Sent from the Jersey mailing list archive at Nabble.com.