狂男风 added the comment:
Sorry I didn't see this comment before.
Can it be merged now?
--
___
Python tracker
<https://bugs.python.org/issue42627>
___
___
Pytho
狂男风 added the comment:
We should have no problem with how to parse HTTP proxy and HTTPS proxy. But I
recently discovered an additional problem when using `requests`, that is, how
to parse the SOCKS proxy correctly.
I investigated the parsing of some commonly used software:
`curl` will try
狂男风 added the comment:
I removed the multi-proxies-per-protocol support from the PR I submitted. The
reason is that:
1. This code reads the proxy settings from the Windows registry.
Multi-proxies-per-protocol cannot be resolved by Windows system.
2. Using a comma-separated string
Change by 狂男风 :
--
keywords: +patch
pull_requests: +24906
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26307
___
Python tracker
<https://bugs.python.org/issu
狂男风 added the comment:
I make some black box tests with the HTTPS proxy.
Set system proxy `http=https://host:port` and start a HTTPS proxy, then IE,
Edge (Chromium) and benrg's code (using `urllib3`) work fine while fetching
`http://website`. Then I shutdown the HTTPS proxy and start a HTTP
狂男风 added the comment:
We know Windows reslove:
`http=host:port;https=host:port;ftp=host:port;socks=host:port`
as:
`http=http://host:port;https=http://host:port;ftp=http://host:port;socks=socks://host:port`
means:
Using HTTP type proxy for HTTP, HTTPS and FTP requests, but Socks4/4a type
Change by 狂男风 :
--
nosy: +CrazyBoyFeng
___
Python tracker
<https://bugs.python.org/issue42627>
___
___
Python-bugs-list mailing list
Unsubscribe: