summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/body_each_error/config.ru
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/body_each_error/config.ru')
-rw-r--r--test/ruby/body_each_error/config.ru6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/body_each_error/config.ru b/test/ruby/body_each_error/config.ru
new file mode 100644
index 00000000..0d34603d
--- /dev/null
+++ b/test/ruby/body_each_error/config.ru
@@ -0,0 +1,6 @@
+app = Proc.new do |env|
+ io = IO.new(0, 'r')
+ ['200', {'Content-Length' => '0'}, io]
+end
+
+run app