Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13525

[GSS](7.0.z) RESTEasy returns wrong Content-Encoding data if client request gzip

XMLWordPrintable

    • EAP 7.0.9

      By default, RESTEasy returns wrong Content-Encoding data if client request gzip data and if RESTEasy end-point contains @GZiP annotation

      1. Server contains end-point with @GZIP annotation, for example this:
            @GET
            @Path("/echo")
            @GZIP
            String echo(@QueryParam("name") String message);
      2. RESTEasy client send request with "Accept-Encoding: gzip, deflate"
      3. By default, server doesn't use GZIPDecodingInterceptor, GZIPEncodingInterceptor and AcceptEncodingGZIPFilter. So server doesn't compress data
      4. server sends "Content-Encoding: gzip" in header of response, although data is not compressed

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: