Examples/modpython.py

Wed, 21 Apr 2021 17:56:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 21 Apr 2021 17:56:12 +0200
changeset 8258
82b608e352ec
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Third Party packages
- removed most of the bundled Third Party packages in favour of pip installed packages

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