Sha256: d88177b37df6ad8a543ce495b4b16b4716c8a81923bb6b770292decd0e83c568
Contents?: true
Size: 629 Bytes
Versions: 68
Compression:
Stored size: 629 Bytes
Contents
require 'puppet/file_serving/metadata' require 'puppet/indirector/generic_http' require 'puppet/network/http' class Puppet::Indirector::FileContent::Http < Puppet::Indirector::GenericHttp desc "Retrieve file contents from a remote HTTP server." include Puppet::FileServing::TerminusHelper include Puppet::Network::HTTP::Compression.module @http_method = :get def initialize Puppet.deprecation_warning(_("Puppet::Indirector::FileContent::Http is deprecated. Use Puppet::HTTP::Client instead.")) super end def find(request) response = super model.from_binary(uncompress_body(response)) end end
Version data entries
68 entries across 68 versions & 1 rubygems