glassfish
  1. glassfish
  2. GLASSFISH-12810

Accepts-Encoding: gzip... not supported yet

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms04
    • Component/s: rest-interface
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      12,810

      Description

      http://wiki.glassfish.java.net/Wiki.jsp?page=V3.1RESTfulApiOnePager#section-V3.1RESTfulApiOnePager-
      4.1.3LogViewerResource says that gzip content encoding will work. At this point, it doesn't appear to.

        Issue Links

          Activity

          Hide
          Jason Lee added a comment -

          -> Ludo

          Show
          Jason Lee added a comment - -> Ludo
          Hide
          ludo added a comment -

          almost done. testing.
          gzip will be on if the size if bigger than 10k chars and if requested.
          "Content-Encoding", "gzip" will be returned in that case.

          Show
          ludo added a comment - almost done. testing. gzip will be on if the size if bigger than 10k chars and if requested. "Content-Encoding", "gzip" will be returned in that case.
          Hide
          ludo added a comment -

          should be ok. Only tested with Chrome that is always accepting gzip.
          request header:
          Accept-Encoding gzip

          response header when ok: (i.e requested and buffer >10k)
          Content-Encoding gzip

          Need more client tests. Vince, reopen if needed.

          Show
          ludo added a comment - should be ok. Only tested with Chrome that is always accepting gzip. request header: Accept-Encoding gzip response header when ok: (i.e requested and buffer >10k) Content-Encoding gzip Need more client tests. Vince, reopen if needed.

            People

            • Assignee:
              ludo
              Reporter:
              vince kraemer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: