xref: /unit/test/ruby/mirror/config.ru (revision 585:17703effc76a)
1app = Proc.new do |env|
2    body = env['rack.input'].read
3    ['200', {
4        'Content-Length' => body.length.to_s
5    }, [body]]
6end
7
8run app
9