By default, RESTEasy returns wrong Content-Encoding data if client request gzip data and if RESTEasy end-point contains @GZiP annotation
- Server contains end-point with @GZIP annotation, for example this:
- RESTEasy client send request with "Accept-Encoding: gzip, deflate"
- By default, server doesn't use GZIPDecodingInterceptor, GZIPEncodingInterceptor and AcceptEncodingGZIPFilter. So server doesn't compress data
- server sends "Content-Encoding: gzip" in header of response, although data is not compressed