about summary refs log tree commit homepage
path: root/t/simple-http_Coolio.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/simple-http_Coolio.ru')
-rw-r--r--t/simple-http_Coolio.ru9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/simple-http_Coolio.ru b/t/simple-http_Coolio.ru
new file mode 100644
index 0000000..cd9266a
--- /dev/null
+++ b/t/simple-http_Coolio.ru
@@ -0,0 +1,9 @@
+use Rack::ContentLength
+use Rack::ContentType
+run lambda { |env|
+  if env['rack.multithread'] == false && env['rainbows.model'] == :Coolio
+    [ 200, {}, [ env.inspect << "\n" ] ]
+  else
+    raise "rack.multithread is true"
+  end
+}