Examples/modpython.py

Fri, 31 Jul 2020 17:16:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Jul 2020 17:16:31 +0200
changeset 7653
d69ebd6a97bd
parent 0
de9c2efb9d02
permissions
-rw-r--r--

VariablesViewer: fixed an issue setting the expanded state of an item.

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