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
/
t0009.ru
blob
d05d7ab12a892fb126bde80dab0ceb7a72588ca4
1
# we do not want Rack::Lint or anything to protect us
2
use Rack::ContentLength
3
use Rack::ContentType, "text/plain"
4
map "/" do
5
run lambda { |env| [ 200, {}, [ "OK\n" ] ] }
6
end
7
map "/raise" do
8
run lambda { |env| raise "BAD" }
9
end
10
map "/nil" do
11
run lambda { |env| nil }
12
end