Examples/modpython.py

changeset 0
de9c2efb9d02
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 from mod_python import apache
2
3 def handler(req):
4 req.content_type = "text/plain"
5 req.send_http_header()
6 req.write("Hello World!\n")
7
8 return apache.OK

eric ide

mercurial