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

Version Path
puppet-6.29.0 lib/puppet/indirector/generic_http.rb
puppet-6.29.0-x86-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.29.0-x64-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.29.0-universal-darwin lib/puppet/indirector/generic_http.rb
puppet-6.28.0 lib/puppet/indirector/generic_http.rb
puppet-6.28.0-x86-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.28.0-x64-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.28.0-universal-darwin lib/puppet/indirector/generic_http.rb
puppet-6.27.0 lib/puppet/indirector/generic_http.rb
puppet-6.27.0-x86-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.27.0-x64-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.27.0-universal-darwin lib/puppet/indirector/generic_http.rb
puppet-6.26.0 lib/puppet/indirector/generic_http.rb
puppet-6.26.0-x86-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.26.0-x64-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.26.0-universal-darwin lib/puppet/indirector/generic_http.rb
puppet-6.25.1 lib/puppet/indirector/generic_http.rb
puppet-6.25.1-x86-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.25.1-x64-mingw32 lib/puppet/indirector/generic_http.rb
puppet-6.25.1-universal-darwin lib/puppet/indirector/generic_http.rb