Examples/modpython_dbg.py@aac0d9fd2bc2
Examples/modpython_dbg.py
Sun, 30 Nov 2014 12:04:06 +0100
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sun, 30 Nov 2014 12:04:06 +0100
- branch
- 5_5_x
- changeset 3951
- aac0d9fd2bc2
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed an issue in the install script creating the Mac application bundle file.
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