>>> 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]>
Metadata
Release files for requests-wsgi-adapter 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| requests-wsgi-adapter-0.4.1.tar.gz | 3.0 kB | Details |
Release files / requests-wsgi-adapter-0.4.1.tar.gz
| Download URL | requests-wsgi-adapter-0.4.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a7709e90abf49d181f6c32aa37794537f725de0f6dd42362bc8c8c90812c878
|
|
BLAKE2b-256 checksum How to use checksums |
c6f68bd78fb03f1212965d7e5b566a37a3ac9a8a8ece5754203356ce7820830a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|