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