lib/httpx/plugins/digest_authentication.rb in httpx-0.24.3 vs lib/httpx/plugins/digest_authentication.rb in httpx-0.24.4

- old
+ new

@@ -27,11 +27,11 @@ value end end module InstanceMethods - def digest_authentication(user, password) - with(digest: Authentication::Digest.new(user, password)) + def digest_authentication(user, password, hashed: false) + with(digest: Authentication::Digest.new(user, password, hashed: hashed)) end alias_method :digest_auth, :digest_authentication def send_requests(*requests)