Hi Johnson,
This feature is called Encoding in Restlet and maps to the
Content-Encoding header in HTTP. See also the Representation#encoding
property.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : Johnson [mailto:lizwji...@163.com]
Envoyé : mardi 4 août 2009 10:46
À : discuss@restlet.tigris.org
Objet : Encoding setup for compression
hi,
I am using restlet 1.1.5 to practise compression, it contains some steps
like:
1. client send a request to server and tells server what compression formats
can be supported.
2. server accepts the request and check these compression forats such as
gzip, then compress the representation ans send back to client.
my question is just that how server notify client what format has been used
in the server side?
I can not find any functionality in response class.
Thanks and Regards,
Johnson
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=23799
20
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2384284