Examples/modpython_dbg.py

Thu, 13 Aug 2020 17:11:00 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 13 Aug 2020 17:11:00 +0200
changeset 7665
fbca6677b2a9
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Updated source documentation.

from mod_python import apache

apache.initDebugger('/Path/To/modpython_dbg.py')

def handler(req):
    req.content_type = "text/plain"
    req.send_http_header()
    req.write("Hello World!\n")

    return apache.OK

eric ide

mercurial