Examples/modpython_dbg.py@3b51a78773d5
Examples/modpython_dbg.py
Sun, 05 May 2019 16:15:34 +0200
- author
- Jaime Seuma <jaims.seuma@gmail.com>
- date
- Sun, 05 May 2019 16:15:34 +0200
- changeset 7002
- 3b51a78773d5
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Spanish i18n update for eric6 default branch
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