Examples/modpython_dbg.py@d8deb8c8e907
Examples/modpython_dbg.py
Wed, 16 Feb 2011 19:14:10 +0100
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Wed, 16 Feb 2011 19:14:10 +0100
- branch
- 5_0_x
- changeset 895
- d8deb8c8e907
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Little change in the find in files 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