CGIHTTPServer.py

alan runyan runyaga at thisbox.com
Wed Jan 3 18:57:29 EST 2001


I'm playing around CGIHTTPServer.py and have some problems that I can seem
to fix.  any help would be greatly appreciated.

in the Library Reference it shows its availability as Unix only, why not
Windows?  it seems to work just fine on Windows.

GET appears to work just fine on both unix and win32.  (this is a
SimpleHTTPServer, not CGIHTTPServer's job)

POST appears to be broke on both Unix and Windows (kinda)

Here are some problems I'm seeing after I try to POST to a cgi:
running Unix: (Linux w/ ActivePython2.0)
    - in all browsers it appears to POST but never exec the cgi.  just
doesnt appear to work.  on Python1.5 it was reported (by friend) the same
behavior.

Windows (W2K Professional ActivePython2.0)
    - in Internet Explorer 5.0 it appears the server breaks the connection
before the entire buffer is read (?)  causing a server reset the connection
message box to pop up.
   - Netscape6 works fine

I looked around, but couldnt figure it out.  would appreciate any help.
maybe the Content length isnt being reported properly? does CGIHTTPServer.py
run on Mac?

thanks,
~runyaga







More information about the Python-list mailing list