[mod_python] "0" added after content, magically

Alex Greif alex.greif at gmail.com
Fri Aug 4 16:56:12 EDT 2006

I am using mod_python 3.2.8 wit apache 2.0.58

the strange phenomenon is that something appends a "0" after my html
output. This happens on Unix and also on Windows.

Any Ideas ?

Here is my handler:

from mod_python import apache

def index(req):
    req.content_type = 'text/html'
    return apache.OK

here is my config:

<Directory /home/agreif/......../scripts>
    SetHandler mod_python
    PythonHandler mod_python.publisher
    PythonDebug On

here is the returned html code to the browser:


More information about the Mod_python mailing list