Examples/modpython.py@46481fe988d2
Examples/modpython.py
Sat, 23 Feb 2013 11:29:01 +0100
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sat, 23 Feb 2013 11:29:01 +0100
- changeset 2427
- 46481fe988d2
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Added code to enable/disable certain entries of the Project->Session and Project->Debugger menus.
from mod_python import apache
def handler(req):
req.content_type = "text/plain"
req.send_http_header()
req.write("Hello World!\n")
return apache.OK