skip to navigation
skip to content

requests-wsgi-adapter 0.2.3

WSGI Transport Adapter for Requests

>>> from django.core.wsgi import get_wsgi_application
>>>
>>> import requests
>>> import wsgiadapter
>>>
>>> s = requests.Session()
>>> s.mount('http://staging/', wsgiadapter.WSGIAdapter(get_wsgi_application()))
>>> s.get('http://staging/index')
<Response [200]>
 
File Type Py Version Uploaded on Size
requests-wsgi-adapter-0.2.3.tar.gz (md5) Source 2017-06-19 2KB