Examples/modpython_dbg.py@14c139167b6e
Examples/modpython_dbg.py
Fri, 23 Aug 2019 13:24:36 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Fri, 23 Aug 2019 13:24:36 +0200
- branch
- Commit_Merge_addition
- changeset 7160
- 14c139167b6e
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Revision <7152> closed.
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