[Python-bugs-list] [ python-Bugs-482943 ] CGIHTTPServer mod docs need updating
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 18 Nov 2001 21:24:22 -0800
Bugs item #482943, was opened at 2001-11-17 16:50
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482943&group_id=5470
Category: Documentation
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Sandy Norton (sandynorton)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: CGIHTTPServer mod docs need updating
Initial Comment:
Module reference docs needs to be updated to reflect
that post-python-2.0 CGIHTTPServer works with windows.
Here's turrent CGIHTTPServer module reference for
python 2.2b2:
"11.17 CGIHTTPServer -- CGI-capable HTTP request
handler
Availability: Unix.
The CGIHTTPServer module defines a request-handler
class, interface compatible with
BaseHTTPServer.BaseHTTPRequestHandler and inherits
behavior from
SimpleHTTPServer.SimpleHTTPRequestHandler but can also
run CGI scripts.
Note: This module is Unix dependent since it
creates the CGI process using os.fork() and os.exec()."
Whereas the module docs states the following:
">>> help(CGIHTTPServer)
Help on module CGIHTTPServer:
NAME
CGIHTTPServer - CGI-savvy HTTP Server.
FILE
c:\engines\python22\lib\cgihttpserver.py
DESCRIPTION
This module builds on SimpleHTTPServer by
implementing GET and POST
requests to cgi-bin scripts.
If the os.fork() function is not present (e.g.
on Windows),
os.popen2() is used as a fallback, with
slightly altered semantics; if
that function is not present either (e.g. on
Macintosh), only Python
scripts are supported, and they are executed
by the current process."
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-11-18 21:24
Message:
Logged In: YES
user_id=3066
Checked in equivalent fix in Doc/lib/libcgihttp.tex revision
1.5.4.1. Version 1.6.2.1 was a mistake; it should not have
been checked in.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-11-18 21:17
Message:
Logged In: YES
user_id=3066
Fixed in Doc/lib/libcgihttp.tex revisions 1.7 and 1.6.2.1.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482943&group_id=5470