lib/httpx/plugins/expect.rb in httpx-1.1.2 vs lib/httpx/plugins/expect.rb in httpx-1.1.3

- old
+ new

@@ -97,11 +97,10 @@ if response.is_a?(Response) && response.status == 417 && request.headers.key?("expect") response.close request.headers.delete("expect") request.transition(:idle) - connection = find_connection(request, connections, options) - connection.send(request) + send_request(request, connections, options) return end response end