End of Life Ruby 3.0 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.0.5/lib/net/http/header.rb, line 497
def basic_encode(account, password)
'Basic ' + ["#{account}:#{password}"].pack('m0')
end
No documentation available