Skip to content

seanbrant/requests-wsgi-adapter

Repository files navigation

>>> 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]>

About

WSGI Transport Adapter for Requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published