>>> 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.1.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.2.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e889371688831ae728ef6e99067326d47195c9e3e39e2da1ea269088c19641a
|
|
| MD5 |
d30c3c0087f3e5c67389319d1b936d00
|
|
| BLAKE2b-256 |
88782273c96704b05bc32de431728aa9e0f7a9aa00f427c972e460600a0f2e4e
|