diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2004-12-22 14:19:09 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2004-12-22 14:19:09 (GMT) |
commit | 6414cd8717dfc923b22d8541db1f6e9ebb8dc023 (patch) | |
tree | 657a956bcb929c531fa8dccf67688bdca960ec22 /Doc/lib/libcgihttp.tex | |
parent | 9fda931ff0e56117c71f7e9370d97f7abc7f135c (diff) | |
download | cpython-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 'Doc/lib/libcgihttp.tex')
-rw-r--r-- | Doc/lib/libcgihttp.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libcgihttp.tex b/Doc/lib/libcgihttp.tex index 3381c64..df0728e 100644 --- a/Doc/lib/libcgihttp.tex +++ b/Doc/lib/libcgihttp.tex @@ -18,6 +18,11 @@ run CGI scripts. on Mac OS it will only be able to run Python scripts within the same process as itself.} +\note{CGI scripts run by the \class{CGIHTTPRequestHandler} class cannot execute +redirects (HTTP code 302), because code 200 (script output follows) +is sent prior to execution of the CGI script. This pre-empts the status +code.} + The \module{CGIHTTPServer} module defines the following class: \begin{classdesc}{CGIHTTPRequestHandler}{request, client_address, server} |