Prepares the HTTPRequest object for use as the source for IO.copy_stream
# File lib/webrick/httprequest.rb, line 264
def body_reader
@body_tmp = []
@body_rd = Fiber.new do
body do |buf|
@body_tmp << buf
Fiber.yield
end
end
@body_rd.resume # grab the first chunk and yield
self
end