>>> 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.5.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.1.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfff02fa857fa7dd2f1194b33b9521a571daf06935aacd1dfad18aa9414483d9
|
|
| MD5 |
b3696712fb6219fbafa8eb0abe6fb1c8
|
|
| BLAKE2b-256 |
a32ecaff518138000a74f8a789132a26eb4a473a99814bd8fa64f0b6d56e6f9f
|