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
t0501: fix ambiguous shell construct for capture + subshells
[rainbows.git]
/
t
/
simple-http_Coolio.ru
blob
cd9266a2e60fdcb897225711cef95fd35def8816
1
use Rack::ContentLength
2
use Rack::ContentType
3
run lambda { |env|
4
if env['rack.multithread'] == false && env['rainbows.model'] == :Coolio
5
[ 200, {}, [ env.inspect << "\n" ] ]
6
else
7
raise "rack.multithread is true"
8
end
9
}