diff Doc/lib/libcgihttp.tex @ 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 42365b70e9d8
children
line wrap: on
line diff
--- a/Doc/lib/libcgihttp.tex	Wed Dec 22 13:41:49 2004 +0000
+++ b/Doc/lib/libcgihttp.tex	Wed Dec 22 14:19:09 2004 +0000
@@ -18,6 +18,11 @@
 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}