Examples/modpython_dbg.py

Sat, 04 Jul 2015 17:44:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 04 Jul 2015 17:44:33 +0200
branch
6_0_x
changeset 4310
493dda042b16
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Prepared release of eric 6.0.7.

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