1app = Proc.new do |env| 2 body = env['rack.input'].read 3 ['200', {'Content-Length' => body.length.to_s}, [body]] 4end 5 6run app 7