Class: Net::DAV::NetHttpHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/adobe_crx/client.rb

Instance Method Summary collapse

Instance Method Details

#handle_request(req, headers, limit = MAX_REDIRECTS, &block) ⇒ Object



15
16
17
18
19
20
# File 'lib/adobe_crx/client.rb', line 15

def handle_request(req, headers, limit = MAX_REDIRECTS, &block)
  if @user && @pass
    req.basic_auth @user, @pass
  end
  handle_request_original(req, headers, limit, &block)
end

#handle_request_originalObject



13
# File 'lib/adobe_crx/client.rb', line 13

alias_method :handle_request_original, :handle_request