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

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

Defined Under Namespace

Modules: Active, None Classes: IdentityAdapter

Class Method Summary collapse

Class Method Details

.moduleObject

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



7
8
9
# File 'lib/vendor/puppet/network/http/compression.rb', line 7

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