summaryrefslogtreecommitdiffstats
path: root/Lib/CGIHTTPServer.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2004-12-22 14:19:09 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2004-12-22 14:19:09 (GMT)
commit6414cd8717dfc923b22d8541db1f6e9ebb8dc023 (patch)
tree657a956bcb929c531fa8dccf67688bdca960ec22 /Lib/CGIHTTPServer.py
parent9fda931ff0e56117c71f7e9370d97f7abc7f135c (diff)
downloadcpython-6414cd8717dfc923b22d8541db1f6e9ebb8dc023.zip
cpython-6414cd8717dfc923b22d8541db1f6e9ebb8dc023.tar.gz
cpython-6414cd8717dfc923b22d8541db1f6e9ebb8dc023.tar.bz2
SF patch #1055159 via Titus Brown: Document redirect limitation.
Bug fix candidate.
Diffstat (limited to 'Lib/CGIHTTPServer.py')
-rw-r--r--Lib/CGIHTTPServer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py
index 47a0e2c..7a5c819 100644
--- a/Lib/CGIHTTPServer.py
+++ b/Lib/CGIHTTPServer.py
@@ -14,6 +14,8 @@ requests are executed sychronously.
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).
"""