lib/httpx/response.rb in httpx-0.6.7 vs lib/httpx/response.rb in httpx-0.7.0
- old
+ new
@@ -101,9 +101,11 @@
end
def read(*args)
return unless @buffer
+ rewind
+
@buffer.read(*args)
end
def bytesize
@length