Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 175 Bytes
class ResponseTime
def call(env)
sleep 3
[200, {'content-type' => 'text/plain'}, ['hello, world']]
end
end
use Rack::Head
use Rack::Runtime
run ResponseTime.new