diff options
Diffstat (limited to '')
-rw-r--r-- | test/ruby/body_file/config.ru | 6 | ||||
-rw-r--r-- | test/ruby/body_file/file | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/ruby/body_file/config.ru b/test/ruby/body_file/config.ru new file mode 100644 index 00000000..2b229699 --- /dev/null +++ b/test/ruby/body_file/config.ru @@ -0,0 +1,6 @@ +app = Proc.new do |env| + file = File.open('file', 'r') + ['200', {'Content-Length' => '5'}, file] +end + +run app diff --git a/test/ruby/body_file/file b/test/ruby/body_file/file new file mode 100644 index 00000000..273a402f --- /dev/null +++ b/test/ruby/body_file/file @@ -0,0 +1 @@ +body |