用于请求的wsgi传输适配器
requests-wsgi-adapter的Python项目详细描述
>>>fromdjango.core.wsgiimportget_wsgi_application>>>>>>importrequests>>>importwsgiadapter>>>>>>s=requests.Session()>>>s.mount('http://staging/',wsgiadapter.WSGIAdapter(get_wsgi_application()))>>>s.get('http://staging/index')<Response[200]>