>>> 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.3.0.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.3.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01846b08ebc3b0761764c40207221b9fe4fad5edcc12a03a053071e3c0572e35
|
|
| MD5 |
d4ffdba3ec69fce2edf4c6028bc62e71
|
|
| BLAKE2b-256 |
943b03c5b9fbd51fdc625bc410f77ea9715f757d26750017a284175641fa0ce4
|