Module: HTTPX::Plugins::Compression::RequestMethods
- Defined in:
- lib/httpx/plugins/compression.rb
Instance Method Summary collapse
Instance Method Details
#initialize ⇒ Object
27 28 29 30 31 |
# File 'lib/httpx/plugins/compression.rb', line 27 def initialize(*) super # forego compression in the Range cases @headers.delete("accept-encoding") if @headers.key?("range") end |