Re: [Python-Dev] wsgi validator with asynchronous handlers/servers
Nikolay Kim <[email protected]> Mon, 25 Mar 2013 12:29:27 -0700
| Newsgroups | gmane.comp.python.tulip,gmane.comp.python.web |
|---|---|
| Message-ID | <[email protected]> |
On Mar 25, 2013, at 11:30 AM, Luca Sbardella <[email protected]> wrote: > > maybe you can read up on the PEP and check out the Tulip implementation (http://code.google.com/p/tulip/) and maybe you can come up with a suitable design for integrating PEP 3156 into WSGI? Though it may have to be named WSGI 2.0 to emphasize that it is backwards incompatible. > > > I have an idea already, > I'll write an initial implementation based on tulip.http.Response & tulip.http.ServerHttpProtocol and I'll write a little example using it. > i already have wsgi implementation https://github.com/fafhrd91/httpclient/blob/master/httpclient/server.py wsgi app could just return Future, thats all you need to make tulip work.