# -*- encoding: binary -*-# :enddoc:## this is class is specific to Coolio for writing large static files# or proxying IO-derived objectsclass Rainbows::Coolio::ResponsePipe< Coolio::IOdefinitialize(io, client, body)super(io)@client,@body= client, body
enddefon_read(data)@client.write(data)enddef on_close
@body.respond_to?(:close)and@body.close
@client.next!endend