Issue #9527 has been reported by Dmitry Bolshakov.
----------------------------------------
Feature #9527: make Net::HTTP.get_print not only to $stdout but to an IO as a parameter
https://bugs.ruby-lang.org/issues/9527
* Author: Dmitry Bolshakov
* Status: Open
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
e.g.
url = 'http://server/path/large-file.zip'
fh = File.new(File.basename(url), 'wb')
Net::HTTP.get_print(URI(url), fh)
fh.close
imho looks good
--
http://bugs.ruby-lang.org/