Re:The Future of Python HTTP
by judofyr on Monday April 02, 2012 @04:45AM
(#3786994)
I don't know much about Python, but how does Request/WSGI solve async/long-polling/WebSockets? It would be a shame if they re-did the HTTP stack without solving these issues.
[ Parent
| on HN ]
Requests has support for async request by using gevent: http://docs.python-requests.org/en/latest/user/advanced/#asy...
gevent has an wsgi module, but it is very low level. I am still looking for a clean/nice way of doing it in python.
Re:The Future of Python HTTP
by kenneth_reitz on Monday April 02, 2012 @07:50AM
(#3787575)
$ gunicorn -k gevent