>>> 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.1.4.tar.gz.
File metadata
- Download URL: requests-wsgi-adapter-0.1.4.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b583fd2ab9da58a46e1efd46ed3379c90179a06670cf10dcfabd0c5f7047d5f4
|
|
| MD5 |
d04ba85c002c7bd90ea5cb3b76480545
|
|
| BLAKE2b-256 |
bc37d3f9454b02975c5209469eb5d5c6d24c295d16652495827364d5f6f45c38
|