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
-
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