Examples/modpython_dbg.py@898b0dda21e1
Examples/modpython_dbg.py
Sat, 29 Oct 2016 16:22:35 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sat, 29 Oct 2016 16:22:35 +0200
- changeset 5282
- 898b0dda21e1
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Corrected some icons in the Mercurial MQ fold dialog.
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