ProxyManager is an HTTP proxy-aware subclass of PoolManager. It produces a single
HTTPConnectionPool instance for all HTTP connections and individual per-server:port
HTTPSConnectionPool instances for tunnelled HTTPS connections.

headers = urllib3.make_headers(proxy_basic_auth=’myusername:mypassword’)
proxy = urllib3.ProxyManager(’http://localhost:3128’, proxy_headers=headers)
r = proxy.request(’GET’, ’http://example.com/’)
r.status

API

urllib3 ProxyManager

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
相关资源
相似解决方案