derived from CGIHTTPServer.py

Michael Ströder michael.stroeder at inka.de
Fri Feb 18 07:34:47 EST 2000


Michael Ströder wrote:
> 
> I have sub-classed my own CGI-handler from
> CGIHTTPServer.CGIHTTPRequestHandler
> [..]
> But the
> browser does not stop loading, the connection is not closed.

I found the solution: One has to handle the input properly. I
abandoned the direct use of sys.stdin and I'm using self.rfile now
for reading from the client.

However HTTP-POST does not work. It never worked even with using the
base class CGIHTTPServer.CGIHTTPRequestHandler. Any suggestions?

Ciao, Michael.



More information about the Python-list mailing list