module HTTPX::Plugins::Compression::RequestMethods

  1. lib/httpx/plugins/compression.rb

Methods

Public Class

  1. new

Public Class methods

new (*)
[show source]
   # File lib/httpx/plugins/compression.rb
27 def initialize(*)
28   super
29   # forego compression in the Range cases
30   @headers.delete("accept-encoding") if @headers.key?("range")
31 end