forcediphttpsadapter icon indicating copy to clipboard operation
forcediphttpsadapter copied to clipboard

Support proxies

Open Nekmo opened this issue 7 years ago • 2 comments

The module works fine, but the proxies parameter is ignored and does not use proxies.

session = requests.Session()
session.mount(protocol_domain, ForcedIPHTTPSAdapter(dest_ip=ip))
r = session.get(address, verify=False, proxies=proxies)

Nekmo avatar Dec 29 '17 10:12 Nekmo

Thanks for reporting this! Sure, I'll look into it as soon as I can.

Roadmaster avatar Jan 10 '18 17:01 Roadmaster

Would this even work? I'm not sure a proxy will take anything but a URL, which if using SNI you'd have to leave intact... I don't know another way to supply the destination IP, though.

NatGuyton avatar Sep 30 '18 15:09 NatGuyton