Irmen de Jong
irmen.NOSPAM at xs4all.nl
Mon Apr 23 08:40:11 CEST 2007
Ron Garret wrote:
> I don't understand why socketserver calling select should matter. (And
> BTW, there are no calls to select in SocketServer.py. I'm using
You don't *need* a select at all.
Socketserver just blocks on accept() and dispatches a handler
on the new connection.
>> Anyway, try the following instead:
> That won't work for POST requests.
Just add some more code to deal with the POST request body.
There should be a content-length header to tell you how many
bytes to read after the header section has finished.
More information about the Python-list