repo.or.cz
/
unicorn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
isolate_for_tests: upgrade to kgio-monkey 0.4.0
[unicorn.git]
/
t
/
t0013.ru
blob
48a3a34018bd2ce250f71183ac545d46c2e787b3
1
#\ -E none
2
use Rack::ContentLength
3
use Rack::ContentType, 'text/plain'
4
app = lambda do |env|
5
case env['rack.input']
6
when Unicorn::StreamInput
7
[ 200, {}, %w(OK) ]
8
else
9
[ 500, {}, %w(NO) ]
10
end
11
end
12
run app