vendor/bundle/ruby/2.7.0/gems/faraday-1.3.0/lib/faraday/adapter/em_http.rb
# Reads out compression header settings from env into options
Reads out compression header settings from env into options
Reads out compression header settings from env into options
def configure_compression(options, env)
          return unless (env[:method] == :get) &&
                        !options[:head].key?('accept-encoding')
          options[:head]['accept-encoding'] = 'gzip, compressed'
        end
def configure_compression ( options , env ) return unless ( env [ :method ] == :get ) && ! options [ :head ] . key? ( 'accept-encoding' ) options [ :head ] [ 'accept-encoding' ] = 'gzip, compressed' end
Reads out compression header settings from env into options
Reads out compression header settings from env into options
options
<not_specific>
env
<not_specific>