update test infrastructure to support Rubinius
[rainbows.git] / t / t9001.ru
blob0a523b98681726304e77d0dd8990c73699e7c10f
1 use Rainbows::Sendfile
2 run lambda { |env|
3   path = "#{Dir.pwd}/random_blob"
4   [ 200,
5     {
6       'X-Sendfile' => path,
7       'Content-Type' => 'application/octet-stream'
8     },
9     []
10   ]