Examples/modpython.py

Sun, 01 Nov 2020 11:17:06 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Nov 2020 11:17:06 +0100
branch
maintenance
changeset 7825
3e7d767119a9
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Created global tag <release-20.11>.

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

eric ide

mercurial