T
Thomas Guettler
Hi,
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.
CGIHTTPServer.py:
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Lib/CGIHTTPServer.py?rev=1.36&view=auto
Maybe a little note in the docs would save some
people 30-60 minutes of their sparetime.
Thomas
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.
CGIHTTPServer.py:
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Lib/CGIHTTPServer.py?rev=1.36&view=auto
Maybe a little note in the docs would save some
people 30-60 minutes of their sparetime.
Thomas