httpx2 2.14.0__tar.gz → 2.15.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {httpx2-2.14.0 → httpx2-2.15.1}/CHANGELOG.md +13 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/PKG-INFO +6 -25
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_config.py +2 -8
- {httpx2-2.14.0 → httpx2-2.15.1}/pyproject.toml +1 -2
- {httpx2-2.14.0 → httpx2-2.15.1}/.gitignore +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/LICENSE.md +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/README.md +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/__init__.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/__version__.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_alias.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_api.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_auth.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_client.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_content.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_decoders.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_exceptions.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_main.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_models.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_multipart.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_sse.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_status_codes.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/__init__.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/asgi.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/base.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/default.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/mock.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_transports/wsgi.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_types.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_urlparse.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_urls.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/_utils.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/py.typed +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/websockets/__init__.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/websockets/_api.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/websockets/_exceptions.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/websockets/_ping.py +0 -0
- {httpx2-2.14.0 → httpx2-2.15.1}/httpx2/websockets/_transport.py +0 -0
|
@@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
+
## 2.15.1 (October 19th, 2026)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
* Configure the default SSL context once on Linux, instead of on every handshake. With OpenSSL older than 3.4, CPU usage grew over the lifetime of a reused client.
|
|
12
|
+
([#1253](https://github.com/pydantic/httpx2/pull/1253))
|
|
13
|
+
|
|
14
|
+
## 2.15.0 (October 19th, 2026)
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
* Drop support for Python 3.10. ([#1274](https://github.com/pydantic/httpx2/pull/1274))
|
|
19
|
+
|
|
7
20
|
## 2.14.0 (October 18th, 2026)
|
|
8
21
|
|
|
9
22
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: httpx2
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.15.1
|
|
4
4
|
Summary: The next generation HTTP client.
|
|
5
5
|
Project-URL: Changelog, https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md
|
|
6
6
|
Project-URL: Homepage, https://github.com/pydantic/httpx2
|
|
@@ -18,16 +18,15 @@ Classifier: License :: OSI Approved :: BSD License
|
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
28
|
-
Requires-Python: >=3.
|
|
27
|
+
Requires-Python: >=3.11
|
|
29
28
|
Requires-Dist: anyio>=4.10; sys_platform != 'emscripten'
|
|
30
|
-
Requires-Dist: httpcore2==2.
|
|
29
|
+
Requires-Dist: httpcore2==2.15.1; sys_platform != 'emscripten'
|
|
31
30
|
Requires-Dist: httpx2-jsfetch; sys_platform == 'emscripten' and python_version >= '3.12'
|
|
32
31
|
Requires-Dist: idna>=3.18
|
|
33
32
|
Requires-Dist: truststore>=0.10; sys_platform != 'emscripten'
|
|
@@ -213,30 +212,12 @@ inspiration around the lower-level networking details.
|
|
|
213
212
|
|
|
214
213
|
## Release Information
|
|
215
214
|
|
|
216
|
-
## 2.
|
|
217
|
-
|
|
218
|
-
### Added
|
|
219
|
-
|
|
220
|
-
* Match IP CIDR ranges, like `192.168.0.0/16` and `[fe80::]/10`, in `NO_PROXY` and `mounts`. Requests to any address in the range now bypass the proxy; previously only the network address itself did.
|
|
221
|
-
([#1165](https://github.com/pydantic/httpx2/pull/1165))
|
|
222
|
-
* Accept bracketed IPv6 addresses, like `[::1]` and `[::1]:8080`, in `NO_PROXY`.
|
|
223
|
-
([#1267](https://github.com/pydantic/httpx2/pull/1267))
|
|
224
|
-
|
|
225
|
-
### Changed
|
|
226
|
-
|
|
227
|
-
* Raise `InvalidURL` for a `mounts` key with an IP host followed by anything other than a valid CIDR prefix, like `all://10.0.0.0/33`.
|
|
228
|
-
([#1165](https://github.com/pydantic/httpx2/pull/1165))
|
|
215
|
+
## 2.15.1 (October 19th, 2026)
|
|
229
216
|
|
|
230
217
|
### Fixed
|
|
231
218
|
|
|
232
|
-
*
|
|
233
|
-
([#
|
|
234
|
-
* Import `httpx2` on FIPS-enforced Python builds without `hashlib.md5`. `DigestAuth` raises `ProtocolError` when the server asks for an unavailable algorithm.
|
|
235
|
-
([#1130](https://github.com/pydantic/httpx2/pull/1130))
|
|
236
|
-
* Handle reads after an ASGI WebSocket app shuts down, instead of leaking `anyio` exceptions.
|
|
237
|
-
([#1233](https://github.com/pydantic/httpx2/pull/1233))
|
|
238
|
-
* Stop the sync WebSocket session from hanging on exit when its event queue is full.
|
|
239
|
-
([#1123](https://github.com/pydantic/httpx2/pull/1123))
|
|
219
|
+
* Configure the default SSL context once on Linux, instead of on every handshake. With OpenSSL older than 3.4, CPU usage grew over the lifetime of a reused client.
|
|
220
|
+
([#1253](https://github.com/pydantic/httpx2/pull/1253))
|
|
240
221
|
|
|
241
222
|
---
|
|
242
223
|
|
|
@@ -29,16 +29,10 @@ def create_ssl_context(
|
|
|
29
29
|
import ssl
|
|
30
30
|
import warnings
|
|
31
31
|
|
|
32
|
-
import
|
|
32
|
+
import httpcore2
|
|
33
33
|
|
|
34
34
|
if verify is True:
|
|
35
|
-
|
|
36
|
-
ctx = ssl.create_default_context(cafile=os.environ["SSL_CERT_FILE"])
|
|
37
|
-
elif trust_env and os.environ.get("SSL_CERT_DIR"): # pragma: no cover
|
|
38
|
-
ctx = ssl.create_default_context(capath=os.environ["SSL_CERT_DIR"])
|
|
39
|
-
else:
|
|
40
|
-
# Default case: rely on the system trust store via `truststore`.
|
|
41
|
-
ctx = truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
|
|
35
|
+
ctx = httpcore2.default_ssl_context(_trust_env=trust_env)
|
|
42
36
|
elif verify is False:
|
|
43
37
|
ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
|
|
44
38
|
ctx.check_hostname = False
|
|
@@ -15,7 +15,7 @@ fallback-version = "0.0.0"
|
|
|
15
15
|
name = "httpx2"
|
|
16
16
|
description = "The next generation HTTP client."
|
|
17
17
|
license = "BSD-3-Clause"
|
|
18
|
-
requires-python = ">=3.
|
|
18
|
+
requires-python = ">=3.11"
|
|
19
19
|
authors = [
|
|
20
20
|
{ name = "Tom Christie", email = "tom@tomchristie.com" },
|
|
21
21
|
]
|
|
@@ -33,7 +33,6 @@ classifiers = [
|
|
|
33
33
|
"Operating System :: OS Independent",
|
|
34
34
|
"Programming Language :: Python :: 3",
|
|
35
35
|
"Programming Language :: Python :: 3 :: Only",
|
|
36
|
-
"Programming Language :: Python :: 3.10",
|
|
37
36
|
"Programming Language :: Python :: 3.11",
|
|
38
37
|
"Programming Language :: Python :: 3.12",
|
|
39
38
|
"Programming Language :: Python :: 3.13",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|