jetforce/examples/cgi/debug.cgi

11 lines
237 B
Python
Executable File

#!/usr/local/bin/python3.7
"""
This is a demo CGI script that prints a bunch of debug information about
the request as an HTML document. Place it in the cgi-bin/ directory of your
server.
"""
import cgi
print("20 text/html")
cgi.test()