Lispython / human_curl

Simple Human wrapper for cURL library
http://h.wrttn.me/human_curl
Other
205 stars 43 forks source link

Proxy auth fail #53

Open MortonPNZ opened 1 year ago

MortonPNZ commented 1 year ago

On HTTP error like this:

Received HTTP code 407 from proxy after CONNECT

proxy = ('http', ('geo.iproyal.com', 12321, ('login','password')))
r = hurl.get("https://ipv4.icanhazip.com/", proxy = proxy)

On SOCKS5:

No authentication method was acceptable.

proxy = ('socks5', ('geo.iproyal.com', 42324, ('login','password')))
r = hurl.get("https://ipv4.icanhazip.com/", proxy = proxy)