Class: Puppet::Network::HTTP::HttpConnection

Inherits:
Connection
  • Object
show all
Defined in:
lib/puppet/patch/http_connection.rb

Instance Method Summary collapse

Constructor Details

#initialize(host, port, options = {}) ⇒ HttpConnection

Returns a new instance of HttpConnection.



6
7
8
9
# File 'lib/puppet/patch/http_connection.rb', line 6

def initialize(host, port, options = {})
  verify = Puppet::SSL::Validator.no_validator
  super host, port, options.merge(:use_ssl => false, :verify => verify)
end