>>> 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.4.0.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.4.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7080c98ae2614b8d0b7339b611d97a535470d2fb479731f7d588d5f8108ea134
|
|
| MD5 |
7b24f1fc27cb42415c50ffb37b656534
|
|
| BLAKE2b-256 |
80872dbe9e545daecaa72fb31533f5f78943c53342af43ebb6000d8daa133761
|