lib/httpx/plugins/compression.rb in httpx-0.4.0 vs lib/httpx/plugins/compression.rb in httpx-0.4.1

- old
+ new

@@ -8,12 +8,14 @@ # * Compresses the request body when passed a supported "Content-Encoding" mime-type; # * Decompresses the response body from a supported "Content-Encoding" mime-type; # # It supports both *gzip* and *deflate*. # + # https://gitlab.com/honeyryderchuck/httpx/wikis/Compression + # module Compression extend Registry - def self.load_dependencies(klass, *) + def self.load_dependencies(klass) klass.plugin(:"compression/gzip") klass.plugin(:"compression/deflate") end def self.extra_options(options)