I have several IP addresses configured on my network interface card. I need to specify through which IP address python requests
must connect to the web server. Is it possible?
import requests
r = requests.get("http://example.com/foo/bar")
I need to force requests.get
to perform http request through a dasignated IP address.
Is there any other http library
that support this feature in python?