class Protocol::HTTP::ContentEncoding
def initialize(delegate, content_types = DEFAULT_CONTENT_TYPES, wrappers = DEFAULT_WRAPPERS)
@parameter content_types [Regexp] The content types to apply encoding to.
@parameter delegate [Middleware] The next middleware in the chain.
Initialize the content encoding middleware.
def initialize(delegate, content_types = DEFAULT_CONTENT_TYPES, wrappers = DEFAULT_WRAPPERS) super(delegate) @content_types = content_types @wrappers = wrappers end