Sha256: 4ca1798e920e8c05cc0d8e76839e0e1e56d125b0a9f9b93ef42cb55589175514
Contents?: true
Size: 409 Bytes
Versions: 501
Compression:
Stored size: 409 Bytes
Contents
require 'puppet/file_serving/terminus_helper' require 'puppet/util/http_proxy' class Puppet::Indirector::GenericHttp < Puppet::Indirector::Terminus desc "Retrieve data from a remote HTTP server." class <<self attr_accessor :http_method end def find(request) uri = URI(request.uri) method = self.class.http_method Puppet::Util::HttpProxy.request_with_redirects(uri,method) end end
Version data entries
501 entries across 501 versions & 3 rubygems