Sha256: e10f017a4f0463583bb12dea3224f50d3aa2e59541eee21b099daaf6429170aa

Contents?: true

Size: 1.48 KB

Versions: 32

Compression:

Stored size: 1.48 KB

Contents

# frozen_string_literal: true

module Puppet
  # Contains an HTTP client for making network requests to puppet and other
  # HTTP servers.
  #
  # @see Puppet::HTTP::Client
  # @see Puppet::HTTP::HTTPError
  # @see Puppet::HTTP::Response
  # @api public
  module HTTP
    ACCEPT_ENCODING = "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
    HEADER_PUPPET_VERSION = "X-Puppet-Version"

    require_relative 'http/errors'
    require_relative 'http/site'
    require_relative 'http/pool_entry'
    require_relative 'http/proxy'
    require_relative 'http/factory'
    require_relative 'http/pool'
    require_relative 'http/dns'
    require_relative 'http/response'
    require_relative 'http/response_converter'
    require_relative 'http/response_net_http'
    require_relative 'http/service'
    require_relative 'http/service/ca'
    require_relative 'http/service/compiler'
    require_relative 'http/service/file_server'
    require_relative 'http/service/puppetserver'
    require_relative 'http/service/report'
    require_relative 'http/session'
    require_relative 'http/resolver'
    require_relative 'http/resolver/server_list'
    require_relative 'http/resolver/settings'
    require_relative 'http/resolver/srv'
    require_relative 'http/client'
    require_relative 'http/redirector'
    require_relative 'http/retry_after_handler'
    require_relative 'http/external_client'
  end

  # Legacy HTTP API
  module Network
    module HTTP
      require_relative '../puppet/network/http_pool'
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/http.rb
puppet-8.10.0-x86-mingw32 lib/puppet/http.rb
puppet-8.10.0-x64-mingw32 lib/puppet/http.rb
puppet-8.10.0-universal-darwin lib/puppet/http.rb
puppet-8.9.0 lib/puppet/http.rb
puppet-8.9.0-x86-mingw32 lib/puppet/http.rb
puppet-8.9.0-x64-mingw32 lib/puppet/http.rb
puppet-8.9.0-universal-darwin lib/puppet/http.rb
puppet-8.8.1 lib/puppet/http.rb
puppet-8.8.1-x86-mingw32 lib/puppet/http.rb
puppet-8.8.1-x64-mingw32 lib/puppet/http.rb
puppet-8.8.1-universal-darwin lib/puppet/http.rb
puppet-8.7.0 lib/puppet/http.rb
puppet-8.7.0-x86-mingw32 lib/puppet/http.rb
puppet-8.7.0-x64-mingw32 lib/puppet/http.rb
puppet-8.7.0-universal-darwin lib/puppet/http.rb
puppet-8.6.0 lib/puppet/http.rb
puppet-8.6.0-x86-mingw32 lib/puppet/http.rb
puppet-8.6.0-x64-mingw32 lib/puppet/http.rb
puppet-8.6.0-universal-darwin lib/puppet/http.rb