dev@jsr311.java.net

Re: JSR311: gzip encoding

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Tue, 31 Mar 2009 14:11:08 +0200

Hi Julian,

of course, and that's why we should not raise that resource developers
think about it ... (IMO)

best regards
    Stephan
> Keep in mind that if the runtime handles this, it will also have to
> worry about Vary, and do rewriting both outgoing *and* incoming ETags
> (conditional headers!).
>
> BR, Julian
>
> Stephan Koops wrote:
>> If the accept-Encoding allows GZIP, than the JAX-RS runtime could
>> decide on its own, that it gzip the data. This it could do with all
>> encodings, that are allowe. So there is no additional annotation
>> required.
>> Ot course the runtime must set the content-encoding header, if it
>> encode the data.