Comment 1 for bug 2030475

Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote (last edit ):

The httpcore library was brought in by upstream change [1] which was a response to a reported issue [2]. In my understanding, [1] works around a certain limitation of httpx[3] by sub-classing httpx's HTTPTransport and using a custom network backend, created using httpcore [5]. The solution, implemented in the dns/query context, is extended to dns/trio and dns/asyncio.

Since this is an extension of the "DNS-over-HTTPS" feature which was dropped to "Suggests" by [4], I propose we extend the same to httpcore, the latter having been used to improve the "DNS-over-HTTPS" implementation.

[1] https://github.com/rthalley/dnspython/pull/908
[2] https://github.com/rthalley/dnspython/issues/875
[3] https://www.python-httpx.org/
[4] https://bugs.launchpad.net/ubuntu/+source/python-h2/+bug/2004272
[5] https://pypi.org/project/httpcore/