Examples/modpython_dbg.py@6422afc7adc4
Examples/modpython_dbg.py
Sat, 06 May 2017 13:43:21 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sat, 06 May 2017 13:43:21 +0200
- branch
- maintenance
- changeset 5730
- 6422afc7adc4
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Merged with default branch in order to prepare the 17.05 release.
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