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.

classification
Title: CGIHTTPServer can't redirect
Type: Stage:
Components: Library (Lib) Versions:
process
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 
user_id=23486

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 CGIHTTPServer.py ;).

Documentation patch to docs and docstring at

http://issola.caltech.edu/~t/transfer/patch-1055159-doc.diff

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

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