[Python-checkins] python/dist/src/Doc/lib libcgihttp.tex,1.7,1.8

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Wed Dec 22 15:19:18 CET 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9012/Doc/lib

Modified Files:
	libcgihttp.tex 
Log Message:
SF patch #1055159 via Titus Brown: Document redirect limitation.

Bug fix candidate.



Index: libcgihttp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcgihttp.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- libcgihttp.tex	19 Nov 2001 05:16:35 -0000	1.7
+++ libcgihttp.tex	22 Dec 2004 14:19:08 -0000	1.8
@@ -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}



More information about the Python-checkins mailing list