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
test_isolate: bump versions and simplify
[rainbows.git]
/
t
/
simple-http_CoolioFiberSpawn.ru
blob
9c39ed413f75a5016005aea50105c9e22fdd3fe4
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] == false &&
5
env['rainbows.model'] == :CoolioFiberSpawn
6
[ 200, {}, [ Thread.current.inspect << "\n" ] ]
7
else
8
raise env.inspect
9
end
10
}