]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix httpx verify bug.
authorBrian Wellington <bwelling@xbill.org>
Fri, 25 Mar 2022 20:21:16 +0000 (13:21 -0700)
committerBrian Wellington <bwelling@xbill.org>
Fri, 25 Mar 2022 20:21:16 +0000 (13:21 -0700)
commitb681aeeddc79a4afac2783e45d5767e5ab1988c1
tree780516ae302784efc15079aaa8c1b4e3ec13858d
parent759421d3e9add44fb5aecf3bac2939ef6bc85b59
Fix httpx verify bug.

If both source and verify are passed to dns.query.https() when using
httpx, the verify parameter is ignored.  This is because the code
creates a custom transport for the source address, and httpx only uses the
verify parameter when creating a transport.

The fix is to pass in the verify parameter when we create a transport.
dns/query.py