def get(path, headers = {}, options = {})
      do_request(Net::HTTP::Get.new(path, headers), options)
    end
def get(path, headers = {}, options = {})
      do_request(Net::HTTP::Get.new(path, headers), options)
    end
Creates a new HTTP client connection to `host`:`port`.
 @param host [String] the host to which this client will connect to
 @param port [Integer] the port to which this client will connect to
 @param options [Hash] options influencing the properties of the created
   connection,
 @option options [Boolean] :use_ssl true to connect with SSL, false
   otherwise, defaults to true
 @option options [#setup_connection] :verify An object that will configure
   any verification to do on the connection
 @option options [Integer] :redirect_limit the number of allowed
   redirections, defaults to 10 passing any other option in the options
   hash results in a Puppet::Error exception

 @note the HTTP connection itself happens lazily only when {#request}, or
   one of the {#get}, {#post}, {#delete}, {#head} or {#put} is called
 @note The correct way to obtain a connection is to use one of the factory
   methods on {Puppet::Network::HttpPool}
 @api private
 @!macro [new] common_options
   @param options [Hash] options influencing the request made. Any
   options not recognized by this class will be ignored - no error will
   be thrown.
   @option options [Hash{Symbol => String}] :basic_auth The basic auth
     :username and :password to use for the request, :metric_id Ignored
     by this class - used by Puppet Server only. The metric id by which
     to track metrics on requests.
 @param path [String]
 @param headers [Hash{String => String}]
 @!macro common_options
 @api public