Challenge handler: remember URL for response.
# File lib/httpclient/auth.rb, line 304 def challenge(uri, param_str = nil) @challengeable['challenged'] = true true end
# File lib/httpclient/auth.rb, line 297 def get(req) target_uri = req.header.request_uri return nil unless @challengeable['challenged'] @cred end
# File lib/httpclient/auth.rb, line 292 def set(uri, user, passwd) @set = true @cred = ["#{user}:#{passwd}"].pack('m').tr("\n", '') end