Examples/modpython.py

Tue, 17 Sep 2019 19:17:07 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 17 Sep 2019 19:17:07 +0200
changeset 7240
5d7a17a948ad
parent 0
de9c2efb9d02
permissions
-rw-r--r--

eric6.py: fixed the use of support for the new exit scheme as of PyQt 5.13.1 in order to test it.

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