End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTPHeader#basic_encode
basic_encode(account, password)
lib/net/http/header.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/net/http/header.rb, line 865
def basic_encode(account, password)
'Basic ' + ["#{account}:#{password}"].pack('m0')
end
No documentation available