Examples/modpython.py@1a6638ccce9d
Examples/modpython.py
Sun, 05 Jan 2014 15:20:02 +0100
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sun, 05 Jan 2014 15:20:02 +0100
- changeset 3175
- 1a6638ccce9d
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed an issue in the syntax and code style checker dialogs causing markers of open files not to be checked being cleared.
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