lib/httpx/response.rb in httpx-0.20.3 vs lib/httpx/response.rb in httpx-0.20.4

- old
+ new

@@ -308,11 +308,14 @@ end end class ErrorResponse include Loggable + extend Forwardable attr_reader :request, :error + + def_delegator :@request, :uri def initialize(request, error, options) @request = request @error = error @options = Options.new(options)