>>> 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.1.6.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.1.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c0f13e17c5ba8a0f5962e8e65dfa1c34676b38c1971bc37653145927b2c84b4
|
|
| MD5 |
aa8ea4853a061c3bb55dc814443eda3b
|
|
| BLAKE2b-256 |
6b18782f74e6cdd0265152e039a37f1ecbd411248b1cc17a32293927735d75ce
|