Tests: Ruby module.
This commit is contained in:
8
test/ruby/input_gets/config.ru
Normal file
8
test/ruby/input_gets/config.ru
Normal file
@@ -0,0 +1,8 @@
|
||||
app = Proc.new do |env|
|
||||
body = env['rack.input'].gets
|
||||
['200', {
|
||||
'Content-Length' => body.length.to_s
|
||||
}, [body]]
|
||||
end
|
||||
|
||||
run app
|
||||
Reference in New Issue
Block a user