Repository navigation
v1.27.0 — superseded by v1.26.2
⚠️ Superseded by v1.26.2. Use that instead.This tag was mis-numbered: dhttp's version scheme mirrors the upstream Go minor (
v1.<go-minor>.<patch>), and upstream here is still go1.26.x, so this should have been av1.26.xrelease. It is retained only because the Go module proxy serves published tags immutably.v1.26.2 is a strict superset of this release — it contains the same
Transport.HTTP2SettingsHTTP/2 fingerprint feature, plus the go1.26.5 upgrade, ago build -racefix, and a fix for the patch-regeneration pipeline (this tag's feature had been committed to the generated files without updating the patch, so a rebuild would have reverted it).Because
v1.27.0outranksv1.26.2in semver,go get @latestwill still resolve here. Pin the recommended build explicitly:go get github.com/dteh/dhttp@v1.26.2
Original: configurable HTTP/2 client fingerprint
Adds Transport.HTTP2Settings so callers can control the HTTP/2 ("Akamai") fingerprint the client emits on a new connection — the ordered SETTINGS list and the initial connection-level WINDOW_UPDATE — to match a specific browser. Previously only the TLS ClientHello (ClientHelloSettings) and header order were tunable, so a uTLS-parroted client still sent Go's default H2 SETTINGS.
&http.HTTP2Settings{
Settings: []http.HTTP2Setting{{1, 65536}, {2, 0}, {4, 6291456}, {6, 262144}},
ConnectionFlow: 15663105,
}When nil, Go's defaults are sent (unchanged behavior).
Upstream Go: go1.26.3 · utls: v1.8.2