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

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

Defined Under Namespace

Modules: Active, None Classes: IdentityAdapter

Constant Summary collapse

ACCEPT_ENCODING =
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"

Class Method Summary collapse

Class Method Details

.moduleObject

this module function allows to use the right underlying methods depending on zlib presence


9
10
11
# File 'lib/puppet/network/http/compression.rb', line 9

def module
  return(Puppet.features.zlib? ? Active : None)
end