I am trying to send my restlet response in zip format if it i slarger then a specific size. This is the link i got that help enabling the encoding service. But i still dont get the response in zip format.
How can I enable GZIP compression of the JSON response entity on Reslet?
Do i need to send something in the request header or make some other changes to get the response in zip format. Currently my restlet returns an object of a local class that is received at client side in json format.