method
basic_encode
basic_encode(account, password)
private
Hide source
# File lib/net/http.rb, line 1454 def basic_encode(account, password) 'Basic ' + ["#{account}:#{password}"].pack('m').delete("\r\n") end