Mercurial > cpython-lru_cache-weakref
diff Lib/CGIHTTPServer.py @ 34226:ec1925f07ec9 legacy-trunk
SF patch #1055159 via Titus Brown: Document redirect limitation.
Bug fix candidate.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Wed, 22 Dec 2004 14:19:09 +0000 |
| parents | 1ba7469a3b49 |
| children | 663c9f1ce3aa |
line wrap: on
line diff
--- a/Lib/CGIHTTPServer.py Wed Dec 22 13:41:49 2004 +0000 +++ b/Lib/CGIHTTPServer.py Wed Dec 22 14:19:09 2004 +0000 @@ -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). """
