Module: Puppet::Network::HTTP::Compression::None

Defined in:
lib/puppet/network/http/compression.rb

Instance Method Summary collapse

Instance Method Details

#add_accept_encoding(headers) ⇒ Object


103
104
105
# File 'lib/puppet/network/http/compression.rb', line 103

def add_accept_encoding(headers)
  headers
end

#uncompress(response) {|IdentityAdapter.new| ... } ⇒ Object

Yields:


107
108
109
# File 'lib/puppet/network/http/compression.rb', line 107

def uncompress(response)
  yield IdentityAdapter.new
end

#uncompress_body(response) ⇒ Object


99
100
101
# File 'lib/puppet/network/http/compression.rb', line 99

def uncompress_body(response)
  response.body
end