Examples/modpython_dbg.py@fa1b4e735e00
Examples/modpython_dbg.py
Tue, 14 Jul 2020 19:32:14 +0200
- author
- zeitaway@126.com
- date
- Tue, 14 Jul 2020 19:32:14 +0200
- changeset 7649
- fa1b4e735e00
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Updated Chinese translations.
from mod_python import apache
apache.initDebugger('/Path/To/modpython_dbg.py')
def handler(req):
req.content_type = "text/plain"
req.send_http_header()
req.write("Hello World!\n")
return apache.OK