Examples/modpython.py@646742c260bd
Examples/modpython.py
Tue, 09 Jun 2020 20:10:59 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Tue, 09 Jun 2020 20:10:59 +0200
- changeset 7614
- 646742c260bd
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Code Style Checker: continued to implement checker for security related issues.
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