saleor / requests-hardened

A library that overrides the default behaviors of the requests library, and adds new security features.
https://pypi.org/project/requests-hardened
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Handle socket exceptions during IP resolution failures #26

Closed tomaszszymanski129 closed 2 months ago

tomaszszymanski129 commented 2 months ago

This handles get_ip_address() exceptions by wrapping them by requests.exceptions.RequestException.