Examples/modpython_dbg.py@389f83a37571
Examples/modpython_dbg.py
Wed, 30 Apr 2014 23:13:40 +0200
- author
- T.Rzepka <Tobias.Rzepka@gmail.com>
- date
- Wed, 30 Apr 2014 23:13:40 +0200
- branch
- 5_4_x
- changeset 3553
- 389f83a37571
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Missing translation added; Translations regenerated.
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