cgi problem

Paul Rubin http
Thu Mar 9 03:35:25 EST 2006


Tim Roberts <timr at probo.com> writes:
> Yes, but the CGI module doesn't write anything, so the advice of writing a
> "Location:" header still applies.

Aha, it's coming from CGIHTTPServer.py:CGIHTTPRequestHandler.run_cgi()
where it says

        self.send_response(200, "Script output follows")

I got the two modules confused.  This still leaves me with the same
basic problem, how to suppress the sending of that header.

Thanks.



More information about the Python-list mailing list