>>> 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.1.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.4.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.4.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a7709e90abf49d181f6c32aa37794537f725de0f6dd42362bc8c8c90812c878
|
|
| MD5 |
d3c5b28e5bcf09cd738fe04726700ab1
|
|
| BLAKE2b-256 |
c6f68bd78fb03f1212965d7e5b566a37a3ac9a8a8ece5754203356ce7820830a
|