httpx2 2.15.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.15.0 → httpx2-2.15.1}/CHANGELOG.md +7 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/PKG-INFO +6 -5
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_config.py +2 -8
- {httpx2-2.15.0 → httpx2-2.15.1}/.gitignore +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/LICENSE.md +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/README.md +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/__init__.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/__version__.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_alias.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_api.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_auth.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_client.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_content.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_decoders.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_exceptions.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_main.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_models.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_multipart.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_sse.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_status_codes.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/__init__.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/asgi.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/base.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/default.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/mock.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_transports/wsgi.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_types.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_urlparse.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_urls.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/_utils.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/py.typed +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/websockets/__init__.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/websockets/_api.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/websockets/_exceptions.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/websockets/_ping.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/httpx2/websockets/_transport.py +0 -0
- {httpx2-2.15.0 → httpx2-2.15.1}/pyproject.toml +0 -0
|
@@ -4,6 +4,13 @@ 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
|
+
|
|
7
14
|
## 2.15.0 (October 19th, 2026)
|
|
8
15
|
|
|
9
16
|
### Removed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: httpx2
|
|
3
|
-
Version: 2.15.
|
|
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
|
|
@@ -26,7 +26,7 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
26
26
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
27
27
|
Requires-Python: >=3.11
|
|
28
28
|
Requires-Dist: anyio>=4.10; sys_platform != 'emscripten'
|
|
29
|
-
Requires-Dist: httpcore2==2.15.
|
|
29
|
+
Requires-Dist: httpcore2==2.15.1; sys_platform != 'emscripten'
|
|
30
30
|
Requires-Dist: httpx2-jsfetch; sys_platform == 'emscripten' and python_version >= '3.12'
|
|
31
31
|
Requires-Dist: idna>=3.18
|
|
32
32
|
Requires-Dist: truststore>=0.10; sys_platform != 'emscripten'
|
|
@@ -212,11 +212,12 @@ inspiration around the lower-level networking details.
|
|
|
212
212
|
|
|
213
213
|
## Release Information
|
|
214
214
|
|
|
215
|
-
## 2.15.
|
|
215
|
+
## 2.15.1 (October 19th, 2026)
|
|
216
216
|
|
|
217
|
-
###
|
|
217
|
+
### Fixed
|
|
218
218
|
|
|
219
|
-
*
|
|
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))
|
|
220
221
|
|
|
221
222
|
---
|
|
222
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
|
|
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
|
|
File without changes
|