diff options
Diffstat (limited to 'test/ruby/empty/config.ru')
-rw-r--r-- | test/ruby/empty/config.ru | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/empty/config.ru b/test/ruby/empty/config.ru new file mode 100644 index 00000000..eeeab5d3 --- /dev/null +++ b/test/ruby/empty/config.ru @@ -0,0 +1,9 @@ +app = Proc.new do |env| + body = env['rack.input'].gets + #body += env['rack.input'].gets + ['200', { + 'Content-Length' => body.length.to_s + }, [body]] +end + +run app |