Sha256: c5757ff6dfc0e608332bc658d3b630af1b0d6da30765e3534eb6593dc02c19b2

Contents?: true

Size: 891 Bytes

Versions: 20

Compression:

Stored size: 891 Bytes

Contents

# frozen_string_literal: true
# This module is used to handle puppet REST requests in puppetserver.
module Puppet::Network::HTTP
  HEADER_ENABLE_PROFILING = "X-Puppet-Profiling"
  HEADER_PUPPET_VERSION = "X-Puppet-Version"

  SERVER_URL_PREFIX = "/puppet"
  SERVER_URL_VERSIONS = "v3"

  MASTER_URL_PREFIX = SERVER_URL_PREFIX
  MASTER_URL_VERSIONS = SERVER_URL_VERSIONS

  CA_URL_PREFIX = "/puppet-ca"
  CA_URL_VERSIONS = "v1"

  require_relative '../../puppet/network/authconfig'
  require_relative '../../puppet/network/authorization'

  require_relative 'http/issues'
  require_relative 'http/error'
  require_relative 'http/route'
  require_relative 'http/api'
  require_relative 'http/api/master'
  require_relative 'http/api/master/v3'
  require_relative 'http/handler'
  require_relative 'http/response'
  require_relative 'http/request'
  require_relative 'http/memory_response'
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.3.0 lib/puppet/network/http.rb
puppet-8.3.0-x86-mingw32 lib/puppet/network/http.rb
puppet-8.3.0-x64-mingw32 lib/puppet/network/http.rb
puppet-8.3.0-universal-darwin lib/puppet/network/http.rb
puppet-8.3.1 lib/puppet/network/http.rb
puppet-8.3.1-x86-mingw32 lib/puppet/network/http.rb
puppet-8.3.1-x64-mingw32 lib/puppet/network/http.rb
puppet-8.3.1-universal-darwin lib/puppet/network/http.rb
puppet-8.2.0 lib/puppet/network/http.rb
puppet-8.2.0-x86-mingw32 lib/puppet/network/http.rb
puppet-8.2.0-x64-mingw32 lib/puppet/network/http.rb
puppet-8.2.0-universal-darwin lib/puppet/network/http.rb
puppet-8.1.0 lib/puppet/network/http.rb
puppet-8.1.0-x86-mingw32 lib/puppet/network/http.rb
puppet-8.1.0-x64-mingw32 lib/puppet/network/http.rb
puppet-8.1.0-universal-darwin lib/puppet/network/http.rb
puppet-8.0.1 lib/puppet/network/http.rb
puppet-8.0.1-x86-mingw32 lib/puppet/network/http.rb
puppet-8.0.1-x64-mingw32 lib/puppet/network/http.rb
puppet-8.0.1-universal-darwin lib/puppet/network/http.rb