Examples/modpython.py@c8deff89c20c
Examples/modpython.py
Fri, 04 Aug 2017 18:29:30 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Fri, 04 Aug 2017 18:29:30 +0200
- changeset 5828
- c8deff89c20c
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed a little issue in the syntax checker dialog.
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