Examples/modpython_dbg.py@a55e5e94a87b
Examples/modpython_dbg.py
Sat, 02 Feb 2013 16:08:11 +0100
- author
- "Detlev Offenbach <detlev@die-offenbachs.de>"
- date
- Sat, 02 Feb 2013 16:08:11 +0100
- changeset 2382
- a55e5e94a87b
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Added a README file for the Raspberry Pi and corrected typos in the Mac README.
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