NewUserHa
NewUserHa
The `HttpProxy` and `Socks5Proxy` only need either `proxy_url` or `uds`, should default `proxy_url` to `""`?
discussion for `uds` support in proxy classes: https://github.com/encode/httpcore/discussions/858
done. now this PR only: * added lacked `retries`, `local_address`, `uds`, `socket_options` parameters and corresponding doc strings; * and reordered these parameters for consistency.
the `SocksProxy` still lacks `local_address`, `uds`; And `retries` is in the class only but `Socks5Connection` does not use it, can open another PR for these.
* ~~when both `proxy settings` in `environment variable` and `ClientSession(proxy='...')` exist, the `async def _request(...)` will use the former. see line 614 and 504, the `_default_proxy` in 504 is read...
was mistake. correct, the `proxy` user provided does will override the env var by ```py if proxy is not None: proxy = URL(proxy) elif self._trust_env: with suppress(LookupError): proxy, proxy_auth =...
https://github.com/aio-libs/aiohttp/blob/1fa237ffc9e7aa70cbabb68ab64d6fe03255cbc0/aiohttp/helpers.py#L306-L320 but the `proxies_from_env()` is no parameter, compared to cache it, I think it can just be stored in session level. and the explicitly throw error for socks5 proxy not...
the `get_env_proxy_for_url` issue part needs to wait https://github.com/python/cpython/pull/127767 to work
any news to this enhancement?
no errors.  the vimrc in gif: ``` call plug#begin('$VIM/vimfiles/plugged') Plug 'w0rp/ale' call plug#end() source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim set diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt...