Examples/modpython_dbg.py

Tue, 15 Feb 2011 19:31:35 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 15 Feb 2011 19:31:35 +0100
changeset 890
b4736e256f8c
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Fixed an issue with the spell checker not showing the correct indicator.

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