CGIHTTPServer always return 200, no redirects (302) possible
steve at holdenweb.com
Wed Oct 27 00:04:41 CEST 2004
Thomas Guettler wrote:
> The CGIHTTPServer returns
> self.send_response(200, "Script output follows")
> before it starts the cgi process. This means
> you cannot set the status header to 302 for
> a redirect.
> I don't see a easy and portable way to fix this.
> Maybe a little note in the docs would save some
> people 30-60 minutes of their sparetime.
If you'd spent the time it took to post your message posting a doc patch
instead then you'd have saved us boith some time ;-)
Holden Web LLC +1 800 494 3119
More information about the Python-list