lib/protocol/http/body/inflate.rb in protocol-http-0.32.0 vs lib/protocol/http/body/inflate.rb in protocol-http-0.33.0
- old
+ new
@@ -13,13 +13,9 @@
class Inflate < ZStream
def self.for(body, encoding = GZIP)
self.new(body, Zlib::Inflate.new(encoding))
end
- def stream?
- false
- end
-
def read
return if @stream.finished?
# The stream might have been closed while waiting for the chunk to come in.
while chunk = super