[Patches] [ python-Patches-1055159 ] CGIHTTPServer can't redirect

SourceForge.net noreply at sourceforge.net
Wed Dec 22 15:20:11 CET 2004


Patches item #1055159, was opened at 2004-10-27 08:49
Message generated for change (Settings changed) made by jhylton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1055159&group_id=5470

Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Guettler (guettli)
Assigned to: Jeremy Hylton (jhylton)
Summary: CGIHTTPServer can't redirect

Initial Comment:
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.



----------------------------------------------------------------------

Comment By: Jeremy Hylton (jhylton)
Date: 2004-12-22 14:19

Message:
Logged In: YES 
user_id=31392

Applied as rev 1.7 of libcgihttp.tex and rev 1.36 of
CGIHTTPServer.py


----------------------------------------------------------------------

Comment By: Titus Brown (titus)
Date: 2004-12-19 06:44

Message:
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!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1055159&group_id=5470


More information about the Patches mailing list