>>> 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]>
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file requests-wsgi-adapter-0.2.2.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.2.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75f9743f8dbdce8ee79cad61549b14df5b8449328c4dfcd107788ce4c12f57ac
|
|
| MD5 |
32d286e35ab1fa8db8b58a62b27fb7c2
|
|
| BLAKE2b-256 |
188d599103d6d27d9874a488e1da66f0f0c4ee4340ea5237b16962e5ca1fc147
|