Hi all,

I'm trying to enable gzip decoding on the client using restlet 2.1-RC1
with the default http connectors. I've tried several things, but none of
them worked. The javadoc suggests that the DecoderService can take care
of this, but how do I use this in combination with a ClientResource?

Things that I've tried so far:

- Creating an Application with DecoderService enabled and setting this
   on the resource. This return the uncompressed data.

- Creating a ClientResource --> Decoder --> Client chain. This returns a
   <null> value for Representation.getText().

- (to verify the procedure:) Wrapping the response's stream in a
   GZIPInputStream. This works, but I'd rather let the framework take
   care of this.

Any suggestions?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2853899

Reply via email to