1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Files
apache/test/modules/core/htdocs/cgi/delay.py
Stefan Eissing b13978eddd *) test/core: start of a stress test case, skipped unless
environment variable STRESS_TEST is present.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899845 13f79535-47bb-0310-9956-ffa450edef68
2022-04-14 11:09:50 +00:00

12 lines
213 B
Python

#!/usr/bin/env python3
import sys, time
content="A delayed response.\n"
print("Status: 200")
print(f"Request-Length: {len(content)}")
print("Content-Type: text/plain\n")
time.sleep(1)
sys.stdout.write(content)