人类的异步Python HTTP请求 pythonhttp库的小插件。 利用python 3.2的或python先前版本的 。 附加的API和更改最少,并努力避免意外。 以下同步代码: from requests import Session session = Session () # first requests starts and blocks until finished response_one = session . get ( 'http://httpbin.org/get' ) # second request starts once first is finishe