Examples/modpython.py@d85fadb263a0
Examples/modpython.py
Sun, 13 Apr 2014 15:45:57 +0200
- author
- T.Rzepka <Tobias.Rzepka@gmail.com>
- date
- Sun, 13 Apr 2014 15:45:57 +0200
- branch
- Py2 comp.
- changeset 3506
- d85fadb263a0
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed an issue introduced by the new running interpreter browser model feature.
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