>>> 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.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5ba8b8d5b00e65b69f425622bb92aea83e22b9ea78f332617cad02a07ec3025
|
|
| MD5 |
79689e768be8fd7042298eb44a550ed2
|
|
| BLAKE2b-256 |
ba3494d67e13a6a975105339bebf743b3352b0d4dc00107c3cfd609237c7f7bb
|