mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
SF patch #1055159 via Titus Brown: Document redirect limitation.
Bug fix candidate.
This commit is contained in:
parent
9fda931ff0
commit
6414cd8717
2 changed files with 7 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue