Integrating SimpleHTTPServer into asyncore

Panu A Kalliokoski pkalliok at cc.helsinki.fi
Tue Jul 10 17:40:55 EDT 2001


Oleg Broytmann <phd at phd.fep.ru> wrote:
> On Sun, 8 Jul 2001, Erik Max Francis wrote:
>> Is there a standard way to integrate SimpleHTTPServer (and related
>> classes) into the asyncore poll loop, or is it just the rather obvious
>> process of creating a dispatcher that containers a SimpleHTTPServer and
>> delegates all the relevant asyncore methods to SimpleHTTPServer?

>    http://sourceforge.net/projects/asynchttp/

If you have neatly separated protocol and socket handlers, I'd be 
interested in trying that on my (IMO much evolved) replacement for 
asynchat, namely Selecting+TCPServer 
(http://sange.fi/~atehwa-u/selecting/)

Panu




More information about the Python-list mailing list