lib/httpx/response.rb in httpx-1.2.3 vs lib/httpx/response.rb in httpx-1.2.4

- old
+ new

@@ -272,9 +272,14 @@ # raises the wrapped exception. def raise_for_status raise @error end + + # buffers lost chunks to error response + def <<(data) + @response << data + end end end require_relative "response/body" require_relative "response/buffer"