diff options
Diffstat (limited to '')
-rw-r--r-- | test/ruby/body_file/config.ru | 6 |
1 files changed, 6 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 |