Examples/modpython.py@852dc7d65ff0
Examples/modpython.py
Thu, 03 Apr 2014 19:21:10 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Thu, 03 Apr 2014 19:21:10 +0200
- changeset 3475
- 852dc7d65ff0
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Added a few TODOs to add a forgotten Mercurial cleanup action.
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