= private = protected
basic_auth(account, password)
Set the Authorization: header for "Basic" authorization.
# File lib/net/http.rb, line 1439 def basic_auth(account, password) @header['authorization'] = [basic_encode(account, password)] end