[Python-checkins] python/dist/src/Lib CGIHTTPServer.py,1.36,1.37

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Wed Dec 22 15:19:18 CET 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9012/Lib

Modified Files:
	CGIHTTPServer.py 
Log Message:
SF patch #1055159 via Titus Brown: Document redirect limitation.

Bug fix candidate.



Index: CGIHTTPServer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/CGIHTTPServer.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- CGIHTTPServer.py	29 Aug 2004 16:53:26 -0000	1.36
+++ CGIHTTPServer.py	22 Dec 2004 14:19:09 -0000	1.37
@@ -14,6 +14,8 @@
 SECURITY WARNING: DON'T USE THIS CODE UNLESS YOU ARE INSIDE A FIREWALL
 -- it may execute arbitrary Python code or external programs.
 
+Note that status code 200 is sent prior to execution of a CGI script, so
+scripts cannot send other status codes such as 302 (redirect).
 """
 
 



More information about the Python-checkins mailing list