Hi,
I am setting the binary content to the response object.
It is an input Stream object to Response.entity(InputStream Object).
 
Does wink calculate the Content-Length after reading the entire Stream .
 
When I am using  the RestClient does the Content-Length will be provided in the 
Response Header by apache wink provider classes or Do i need to calculate the 
Content-Length in resource class and add to Response.entity(InputStream 
Object).header(Content-Length,size)
 
Thanks,
Srinivasan.V

Reply via email to