gevent.http

class gevent.http.HTTPServer(listener, handle=None, backlog=None, spawn='default', default_response_headers='default')

An HTTP server based on libevent-http.

handle is called with one argument: an gevent.core.http_request instance.

start_accepting()
stop_accepting()

Related pages