Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1627

gzip encoding is not be enabled by RequestEncodingHandler$Builder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.29.Final
    • 2.0.28.Final
    • Core
    • None

      RequestEncodingHandler$Builder enables deflate encoding but it does not enable gzip encoding.

      Also, RequestEncodingHandler$Builder is not defined in a provider configuration file (core/src/main/resources/META-INF/services/io.undertow.server.handlers.builder.HandlerBuilder), so the handler can not be enabled through this HandlerBuilder.

      In addition, I would like to suggest to rename the name of the handler builder "uncompress" to a more appropriate one "uncompress-request". As the handler builder is not defined in the provider configuration (= it has never been enabled by using the handler builder name), I think this name change does not break compatibility.

              flaviarnn Flavia Rainone
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: