*Treat`socks5h`as a valid proxy scheme. (#3178) 1920 2021 ##0.27.2 (27th August, 2024) 2122 Diff for:httpx/_config.py +1-1 +4-4 Original file line numberDiff line numberDiff line change @@ -189,7 +189,7 @@ def __init__( ...
在macOS上通过pip安装httpx[socks]的步骤可以分为以下几个部分: 打开终端: 首先,需要打开macOS的终端应用程序。你可以通过在Spotlight搜索中输入“Terminal”来找到并打开它。 输入安装命令: 在终端中,输入以下命令来安装httpx及其SOCKS代理支持: bash pip install httpx[socks] 这条命令会告诉pip从Python包索引(PyPI...
Thehttpx-sockspackage provides proxy transports forhttpxclient. SOCKS4(a), SOCKS5(h), HTTP (tunneling) proxy supported. It usespython-socksfor core proxy functionality. Requirements Python >= 3.6 httpx>=0.21.0 python-socks>=2.0.0 async-timeout>=3.0.1 (optional) ...
JSON request bodies use a compact representation. (#3363) Review URL percent escape sets, based on WHATWG spec. (#3371,#3373) Ensurecertifiandhttpcoreare only imported if required. (#3377) Treatsocks5has a valid proxy scheme. (#3178) CleanupRequest()method signature in line withclient.reques...
Treatsocks5has a valid proxy scheme. (add socks5h proxy support#3178) CleanupRequest()method signature in line withclient.request()andhttpx.request(). (CleanupRequestmethod parameter.#3378)
Treatsocks5has a valid proxy scheme. (#3178) CleanupRequest()method signature in line withclient.request()andhttpx.request(). (#3378) Changelog Sourced fromhttpx[http2]'s changelog. 0.28.0 (28th November, 2024) The 0.28 release includes a limited set of deprecations. ...
(scheme=u.raw_scheme, host=u.raw_host, port=u.port, target="/") def test_socks_proxy(): url = httpx.URL("http://www.example.com") for proxy in ("socks5://localhost/", "socks5h://localhost/"): client = httpx.Client(proxy=proxy) transport = client._transport_for_...