lib/httpx/plugins/digest_authentication.rb in httpx-0.22.5 vs lib/httpx/plugins/digest_authentication.rb in httpx-0.23.0
- old
+ new
@@ -37,13 +37,10 @@
def send_requests(*requests)
requests.flat_map do |request|
digest = request.options.digest
- unless digest
- super(request)
- next
- end
+ next super(request) unless digest
probe_response = wrap { super(request).first }
return probe_response unless probe_response.is_a?(Response)