Httpx 0.28.1 ignores the cert
parameter when verify
is string.
#3454
Unanswered
gtsystem
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
until httpx 0.27.1 I was able to combine
verify
andcert
parameters as follow:But now the behavior change as the certicate chain is not updated.
This is visible from the code https://github.com/encode/httpx/blob/0.28.1/httpx/_config.py#L54
I understand that setting
verify
to string is already deprecated and I may just going to fix the code from my side, but I have the feeling that this is a bug, as this is the only combination usingreturn ...
instead ofctx = ...
.Related issue gtsystem/lightkube#78
Beta Was this translation helpful? Give feedback.
All reactions