[Python-bugs-list] [ python-Bugs-482943 ] CGIHTTPServer mod docs need updating

noreply@sourceforge.net noreply@sourceforge.net
Sat, 17 Nov 2001 16:50:40 -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: Open
Resolution: None
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."

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482943&group_id=5470