repo.or.cz
/
rainbows.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update test infrastructure to support Rubinius
[rainbows.git]
/
t
/
t9001.ru
blob
0a523b98681726304e77d0dd8990c73699e7c10f
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
]
11
}