lib/async/http/body/wrapper.rb in async-http-0.24.3 vs lib/async/http/body/wrapper.rb in async-http-0.25.0
- old
+ new
@@ -31,9 +31,13 @@
def empty?
@body.empty?
end
+ def length
+ @body.length
+ end
+
# Buffer any remaining body.
def close
@body = @body.close
return self