https://github.com/messa/legacy-ssl-client
Python Requests Session object configured to connect to servers with historical SSL configuration
https://github.com/messa/legacy-ssl-client
python python-requests python3 requests
Last synced: 5 months ago
JSON representation
Python Requests Session object configured to connect to servers with historical SSL configuration
- Host: GitHub
- URL: https://github.com/messa/legacy-ssl-client
- Owner: messa
- License: mit
- Created: 2020-02-21T10:20:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-24T08:33:48.000Z (over 6 years ago)
- Last Synced: 2024-12-27T13:11:38.669Z (over 1 year ago)
- Topics: python, python-requests, python3, requests
- Language: Python
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
legacy-ssl-client
=================
Python Requests Session object configured to connect to servers with historical SSL configuration.
Installation
------------
```shell
$ pip install https://github.com/messa/legacy-ssl-client/archive/master.zip
```
Or add to requirements.txt:
```
https://github.com/messa/legacy-ssl-client/archive/v0.0.2.zip#egg=legacy-ssl-client==0.0.2
```
Usage
-----
```python3
from legacy_ssl_client.requests import sslv2_session
s = sslv2_session()
r = s.get('https://example.com')
r.raise_for_status()
```
Links
-----
- https://requests.readthedocs.io/en/master/
- https://requests.readthedocs.io/en/master/user/advanced/#example-specific-ssl-version
- https://lukasa.co.uk/2013/01/Choosing_SSL_Version_In_Requests/
- https://github.com/psf/requests/blob/master/requests/adapters.py
- https://github.com/psf/requests/issues/3774#issuecomment-267871876
- https://github.com/urllib3/urllib3/blob/master/src/urllib3/poolmanager.py