Closed AceBee007 closed 4 years ago
Whats the status on this?
I noticed that currently the http_proxy does not allow username:password@proxy.com:8080 but my guess is this rsplit would fix this too
Added a function get_proxy_setting()
into utils.py
and changed codes of proxy setting part.
Closed in 21ad0c8775e92f50cc2c21ec46f737273f9d4209.
in a local network which is connected to a proxy server, if the
os.environ['http_proxy']
is 'http://proxy.server.address:8080/' and the code is:the error would be appear as:
To fix this bug I prefer to use
rsplit(':, 1')
. Andproxy
should not be written with 'http://', so I fixed it.