lib/httpx/plugins/authentication/digest.rb in httpx-0.22.5 vs lib/httpx/plugins/authentication/digest.rb in httpx-0.23.0
- old
+ new
@@ -19,10 +19,10 @@
def can_authenticate?(authenticate)
authenticate && /Digest .*/.match?(authenticate)
end
def authenticate(request, authenticate)
- "Digest #{generate_header(request.verb.to_s.upcase, request.path, authenticate)}"
+ "Digest #{generate_header(request.verb, request.path, authenticate)}"
end
private
def generate_header(meth, uri, authenticate)