lib/httpx/plugins/basic_authentication.rb in httpx-0.3.1 vs lib/httpx/plugins/basic_authentication.rb in httpx-0.4.0

- old
+ new

@@ -1,8 +1,12 @@ # frozen_string_literal: true module HTTPX module Plugins + # + # This plugin adds helper methods to implement HTTP Basic Auth + # https://tools.ietf.org/html/rfc7617 + # module BasicAuthentication def self.load_dependencies(klass, *) require "base64" klass.plugin(:authentication) end