Avatar for the pydantic user
pydantic
httpx2
BlogDocsChangelog

create_ssl_context: raise when verify is a str and cert is provided

#990Merged
Comparing
mbeijen:ssl-context-tuple
(
a75b1cd
) with
main
(
9866dec
)
CodSpeed Performance Gauge
-1%
Untouched
15
Skipped
7

Benchmarks

7 total
test_bench_request_multipart
tests/test_benchmark.py
Skipped
15.7 ms*
test_bench_url_join
tests/test_benchmark.py
Skipped
168 ms*
test_bench_client_stream_download
tests/test_benchmark.py
Skipped
28.3 ms*
test_bench_sync_stream_write_large
tests/test_benchmark.py
Skipped
276.6 ms*
test_bench_request_json_post
tests/test_benchmark.py
Skipped
86.9 ms*
test_bench_response_gzip_decode_large
tests/test_benchmark.py
Skipped
35.6 ms*
test_bench_client_post_large_json
tests/test_benchmark.py
Skipped
217.7 ms*

Commits

Click on a commit to change the comparison range
Base
main
9866dec
-0.93%
Add regression test for create_ssl_context verify=str with cert
e8a93b3
2 months ago
by mbeijen
+0.19%
Place pragma on the uncovered ssl context branches
f5aa1c1
2 months ago
by Kludex
+0.15%
create_ssl_context: raise on `verify=<str>` combined with `cert=...`
ce761fc
2 months ago
by mbeijen
+0.11%
Merge remote-tracking branch 'mbeijen/ssl-context-tuple' into ssl-context-tuple
53227ca
1 month ago
by Kludex
-0.08%
Return directly in verify=str branch instead of reassigning ctx
25de33e
1 month ago
by Kludex
-0.01%
Exclude deprecated cert branch from coverage
a75b1cd
1 month ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs