Tests: Ruby module.
This commit is contained in:
6
test/ruby/body_file/config.ru
Normal file
6
test/ruby/body_file/config.ru
Normal file
@@ -0,0 +1,6 @@
|
||||
app = Proc.new do |env|
|
||||
file = File.open('file', 'r')
|
||||
['200', {'Content-Length' => '5'}, file]
|
||||
end
|
||||
|
||||
run app
|
||||
1
test/ruby/body_file/file
Normal file
1
test/ruby/body_file/file
Normal file
@@ -0,0 +1 @@
|
||||
body
|
||||
Reference in New Issue
Block a user