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
switch docs + website to olddoc
[rainbows.git]
/
t
/
simple-http_RevThreadPool.ru
blob
43dde1a567b01614f82a273f9ee15d0a938d1377
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] && env['rainbows.model'] == :RevThreadPool
5
[ 200, {}, [ env.inspect << "\n" ] ]
6
else
7
raise "rack.multithread is false"
8
end
9
}