Examples/modpython_dbg.py@7bd7b47136a5
Examples/modpython_dbg.py
Fri, 04 Apr 2014 09:47:37 +0200
- author
- Jaime Seuma<jaims.seuma@gmail.com>
- date
- Fri, 04 Apr 2014 09:47:37 +0200
- branch
- 5_4_x
- changeset 3476
- 7bd7b47136a5
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
eric5 i18n-es update 5_4_x 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