Examples/modpython.py

Wed, 25 Sep 2019 18:37:35 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 25 Sep 2019 18:37:35 +0200
changeset 7267
aedc309827c7
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Continued to resolve code style issue M841.

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