[mod_python] Re: post request and the minimalistic handler

Daniel Nogradi nogradi at gmail.com
Sun Feb 19 12:34:20 EST 2006


> > def handler( req ):
> >      req.content_type = "text/html"
> >      req.write( "hello" )
> >      return apache.OK
>
> Try using text/plain.
> --
> Deron Meranda
>

Hi, I tried and that makes absolutely no difference, which I think is
the correct behaviour. As long as the content is text it shouldn't
matter for Firefox (or any other client) if it was plain text or html.



More information about the Mod_python mailing list