This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: CGIHTTPServer can't redirect
Type: Stage:
Components: Library (Lib) Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jhylton Nosy List: guettli, jhylton, titus
Priority: normal Keywords: patch

Created on 2004-10-27 08:49 by guettli, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg47172 - (view) Author: Thomas Guettler (guettli) * Date: 2004-10-27 08:49
Please add this to the docstring of CGIHTTPServer:

It can't handle redirects (302) because it returns "200
Script output
follows" before the script is executed.

msg47173 - (view) Author: Titus Brown (titus) Date: 2004-12-19 06:44
Logged In: YES 

Verified behavior on Linux -- Apache redirects appropriately,
but the same script run via CGIHTTPServer does not.  Plus
it makes sense given the implementation code in ;).

Documentation patch to docs and docstring at

...if someone could attach it, please... tnx!
msg47174 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2004-12-22 14:19
Logged In: YES 

Applied as rev 1.7 of libcgihttp.tex and rev 1.36 of
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41088
2004-10-27 08:49:55guettlicreate