We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aiohttp.ClientHttpProxyError
httpx.ProxyError
1 parent 2fcfccd commit b272715Copy full SHA for b272715
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+- Mapping proxy errors from `aiohttp` to `httpx` (#25).
6
7
## 0.1.9 (15th October, 2025)
8
9
- Properly close the underlying aiohttp response after reading the content.
httpx_aiohttp/transport.py
@@ -18,6 +18,7 @@
18
aiohttp.ClientConnectorError: httpx.ConnectError,
19
aiohttp.ClientPayloadError: httpx.ReadError,
20
aiohttp.ClientProxyConnectionError: httpx.ProxyError,
21
+ aiohttp.ClientHttpProxyError: httpx.ProxyError,
22
aiohttp.client_exceptions.NonHttpUrlClientError: httpx.UnsupportedProtocol,
23
aiohttp.client_exceptions.InvalidUrlClientError: httpx.UnsupportedProtocol,
24
}
0 commit comments