Skip to content

Fetch passports with httpx over HTTP/2, keep the public-address pinning - #9

Merged
fabianekc merged 1 commit into
mainfrom
http2-resolver
Oct 8, 2026
Merged

fabianekc merged 1 commit into
mainfrom
http2-resolver

Conversation

@fabianekc

Copy link
Copy Markdown
Member

DPP services may refuse HTTP/1.x (DPP-DEX-006). HttpResolver now uses httpx, which negotiates HTTP/2 via ALPN and falls back to HTTP/1.1. The connection stays pinned to the checked public address (httpx option addresses; SNI, certificate check and Host keep the host name), also after redirects. Redirects (max 5), HEAD and ranged GET, per-run cache, header lists and DPPLINT_ALLOW_PRIVATE_NETWORKS are unchanged. retrieval.httpVersion reports the HTTP version of the final response. Tests with a local server cover pinning, refused internal host names, refused redirects to them, header lists, probing and the redirect limit.

@fabianekc
fabianekc merged commit d092c15 into main Oct 8, 2026
2 checks passed
@fabianekc
fabianekc deleted the http2-resolver branch October 8, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant