Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGIHTTPServer can't redirect #41088

Closed
guettli mannequin opened this issue Oct 27, 2004 · 3 comments
Closed

CGIHTTPServer can't redirect #41088

guettli mannequin opened this issue Oct 27, 2004 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@guettli
Copy link
Mannequin

guettli mannequin commented Oct 27, 2004

BPO 1055159

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2004-12-22.14:19:25.000>
created_at = <Date 2004-10-27.08:49:55.000>
labels = ['library']
title = "CGIHTTPServer can't redirect"
updated_at = <Date 2004-12-22.14:19:25.000>
user = 'https://bugs.python.org/guettli'

bugs.python.org fields:

activity = <Date 2004-12-22.14:19:25.000>
actor = 'jhylton'
assignee = 'jhylton'
closed = True
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2004-10-27.08:49:55.000>
creator = 'guettli'
dependencies = []
files = []
hgrepos = []
issue_num = 1055159
keywords = ['patch']
message_count = 3.0
messages = ['47172', '47173', '47174']
nosy_count = 3.0
nosy_names = ['jhylton', 'guettli', 'titus']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1055159'
versions = []

@guettli
Copy link
Mannequin Author

guettli mannequin commented Oct 27, 2004

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.

@guettli guettli mannequin closed this as completed Oct 27, 2004
@guettli guettli mannequin assigned jhylton Oct 27, 2004
@guettli guettli mannequin added the stdlib Python modules in the Lib dir label Oct 27, 2004
@guettli guettli mannequin closed this as completed Oct 27, 2004
@guettli guettli mannequin assigned jhylton Oct 27, 2004
@titus
Copy link
Mannequin

titus mannequin commented Dec 19, 2004

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!

@jhylton
Copy link
Mannequin

jhylton mannequin commented Dec 22, 2004

Logged In: YES
user_id=31392

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

0 participants