module Async::HTTP::Body::Reader
def save(path, mode = ::File::WRONLY|::File::CREAT, *args)
def save(path, mode = ::File::WRONLY|::File::CREAT, *args) if @body ::File.open(path, mode, *args) do |file| self.each do |chunk| file.write(chunk) end end end end