Details

    • Complexity:
      Undetermined

      Description

      Sometimes POSTs can get quite big and it would be beneficial for REST clients (especially on mobile devices) if the server supported gzipped requests in addition to responses.

      We need to modify GZIPFilter to wrap the request in a way that unzips the body if the "Content-Encoding: gzip" header is set.

      In order to test you need to enable gzip going to System Administration -> Settings -> gzip.enabled set to True (restart of the server is required).

      Please add "gzip.acceptCompressedRequestsForPaths" global property with a list of comma-separated regular expressions to match on URLs (do not require to enter the first part of the URL with protocol, host, port and context path, which you can get with getServletContext().getContextPath(), default to none i.e. empty value "").

      Also the server should respond with 415 (Unsupported Media Type) if the feature is disabled entirely or for the given path.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmueller Tomasz Mueller
                Reporter:
                raff Rafal Korytkowski
                Designated Committer:
                Rafal Korytkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 5 hours
                  1w 5h