blob: 2c88979bc5e59cb778c106a450670f2f710575cb (
plain) (
tree)
|
|
import time
def application(env, start_response):
delay = int(env.get('HTTP_X_DELAY', 0))
start_response('200', [('Content-Length', '0'), ('X-Upstream', '0')])
time.sleep(delay)
return []
|