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