Examples/modpython.py

Tue, 04 May 2021 20:03:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 04 May 2021 20:03:40 +0200
changeset 8289
871b40c5a77a
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Changed some source docu string to the new style.

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