https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112018-07-04T22:05:28ZRuby Issue Tracking SystemRuby master - Feature #14896: Expose Net::HTTPResponse socket for integration with libraries expecting an IOhttps://redmine.ruby-lang.org/issues/14896?journal_id=728072018-07-04T22:05:28Zshevegen (Robert A. Heiler)shevegen@gmail.com
<ul></ul><p>I have nothing useful to add to the issue at hand as I only very<br>
rarely use Net:: directly (my use cases usually start and end with<br>
open-uri which I think is great) - the reason I comment here is to<br>
suggest to you to add your feature request to the next developer<br>
meeting that is bound to happen in two weeks:</p>
<p><a href="https://bugs.ruby-lang.org/issues/14861" class="external">https://bugs.ruby-lang.org/issues/14861</a></p>
<p>The discussions there often help get things moving, either because<br>
of direct approval by matz, or by requestung some feedback or<br>
making modifications/suggestions to the issue at hand.</p>
<p>The use case was mentioned as well ("streaming a .tar.gz file"; I guess<br>
it applies to all compressed files like .zip or .tar.xz and so forth).</p>
<p>If I may suggest, the documentation could mention the use case and/or<br>
provide examples to it and clarifications. For example, reading "meaningful<br>
body" leads me to wonder in what context the body is meant here (I<br>
assume to the method itself) and what is meaningful and what is not<br>
or what is meant with it.</p>