import time def main(request, response): time.sleep(1) headers = [(b"Content-Type", b"text/html")] return headers, u''' DELAYED FRAME