1

I need to use urllib3 with proxy which requires authorization

http = urllib3.ProxyManager('http://host:port', headers={ 'User-Agent': UA_CHROME} )

I have tried to pass proxy headers with login and password like this

proxy_header={'login': login, 'password': pass}

and I used options in these answers How to handle proxies in urllib3 but it did not help. How can I authorize my proxy in urllib3?

Max
  • 11
  • 1

0 Answers0