Examples/modpython.py@1d681235c1b4
Examples/modpython.py
Fri, 18 Apr 2014 15:07:48 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Fri, 18 Apr 2014 15:07:48 +0200
- changeset 3518
- 1d681235c1b4
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed the Mercurial command server client handling large data chunks on slow machines.
from mod_python import apache
def handler(req):
req.content_type = "text/plain"
req.send_http_header()
req.write("Hello World!\n")
return apache.OK