作者:Ross McFarland
### 作者邮箱:ross@gmail.com
### 首页:http://github.com/ross/python-asynchttp
### 文档:None
### 下载链接 UNKNOWN
asynchttp is an almost drop in replacement for httplib2 that provides
asynchronous http request behavior.
asynchttp uses python threading and Queues and provides callback mechanisms to allow de-serialization and process to happen in the background (worker threads) as well. You can queue up arbitrary numbers of requests and a specified maximum number of workers will process each request in turn.
There are two known differences between straight httplib2 and asynchttp:
exceptions are thrown when the response and/or content is accessed. since sending the request and receiving the response is happening in the background exceptions won't be thrown during the call to request.
content (returned from request) is an object rather than a plain string