about summary refs log tree commit homepage
path: root/t/t9001.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/t9001.ru')
-rw-r--r--t/t9001.ru11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/t9001.ru b/t/t9001.ru
new file mode 100644
index 0000000..0a523b9
--- /dev/null
+++ b/t/t9001.ru
@@ -0,0 +1,11 @@
+use Rainbows::Sendfile
+run lambda { |env|
+  path = "#{Dir.pwd}/random_blob"
+  [ 200,
+    {
+      'X-Sendfile' => path,
+      'Content-Type' => 'application/octet-stream'
+    },
+    []
+  ]
+}