blob: bb0ce797489532d4400d07f05c3e43f85bc030b9 (
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', '2')])
time.sleep(delay)
return []
|