Class: RHC::Rest::HTTPClient

Inherits:
HTTPClient show all
Defined in:
lib/rhc/rest/httpclient.rb

Overview

An instance of HTTPClient that will support deferred Basic credentials and allow token challenges.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ HTTPClient

Returns a new instance of HTTPClient.



28
29
30
31
32
# File 'lib/rhc/rest/httpclient.rb', line 28

def initialize(*args)
  super
  @www_auth = WWWAuth.new
  @request_filter = [proxy_auth, www_auth]
end