1 2 3 4 5 6
app = Proc.new do |env| file = File.open('file', 'r') ['200', {'Content-Length' => '5'}, file] end run app