response: avoid unnecessary args to IO.copy_stream
commit25904f92de4c456d99fe4210430d58296f84a0af
authorEric Wong <e@80x24.org>
Mon, 14 Sep 2015 05:33:14 +0000 (14 05:33 +0000)
committerEric Wong <e@80x24.org>
Mon, 14 Sep 2015 05:34:17 +0000 (14 05:34 +0000)
tree347e3558ea7922f9dd161d99d58cbf484af628b9
parent7c79abb4f1349a843bbddcec83c924cd2dc07af4
response: avoid unnecessary args to IO.copy_stream

Not all responses are seekable, so do not attempt to pass seek
arguments to them since Ruby may attempt to seek (and fail!).
lib/rainbows/response.rb