about summary refs log tree commit homepage
path: root/t/env_rack_env.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/env_rack_env.ru')
-rw-r--r--t/env_rack_env.ru4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/env_rack_env.ru b/t/env_rack_env.ru
new file mode 100644
index 0000000..7f12b29
--- /dev/null
+++ b/t/env_rack_env.ru
@@ -0,0 +1,4 @@
+use Rack::ContentLength
+run proc { |env|
+  [ 200, { "Content-Type" => "text/plain" }, [ ENV["RACK_ENV"] ] ]
+}