Examples/modpython.py

Wed, 11 Nov 2020 17:51:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 11 Nov 2020 17:51:36 +0100
changeset 7828
4588940a2c19
parent 0
de9c2efb9d02
permissions
-rw-r--r--

PipDialog: removed some redundant code.

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