Examples/modpython.py

Thu, 14 Jan 2021 18:06:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 14 Jan 2021 18:06:56 +0100
changeset 7982
48d210e41c65
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Project File: amended the commented code whitelist.

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