Examples/modpython.py

Thu, 03 Oct 2019 11:12:50 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 03 Oct 2019 11:12:50 +0200
branch
maintenance
changeset 7287
1c17f2191bdd
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Created global tag <release-19.10>.

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