lib/protocol/http/body/rewindable.rb in protocol-http-0.23.11 vs lib/protocol/http/body/rewindable.rb in protocol-http-0.23.12
- old
+ new
@@ -46,9 +46,13 @@
# A rewindable body wraps some other body. Convert it to a buffered body
def buffered
Buffered.new(@chunks)
end
+ def stream?
+ false
+ end
+
def read
if @index < @chunks.size
chunk = @chunks[@index]
@index += 1
else