Skip to content

test: drop dead Sec-Webtransport-Http3-Draft02 request header - #282

Open
tomholford wants to merge 1 commit into
quic-go:masterfrom
tomholford:drop-dead-draft02-test-header
Open

test: drop dead Sec-Webtransport-Http3-Draft02 request header#282
tomholford wants to merge 1 commit into
quic-go:masterfrom
tomholford:drop-dead-draft02-test-header

Conversation

@tomholford

@tomholford tomholford commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #280.

Sec-Webtransport-Http3-Draft02 was the draft-02 header-based version
negotiation mechanism, removed in #191. The server no longer reads it,
and after #280 the only remaining reference to it in the tree was this
test helper (NewWebTransportRequest) — so setting the header had no
effect.

No behavior change: the helper still builds a valid WebTransport CONNECT
request.

Note

Remove dead Sec-Webtransport-Http3-Draft02 header from NewWebTransportRequest test helper

Drops the Sec-Webtransport-Http3-Draft02 header from the NewWebTransportRequest helper in test_helpers_test.go, which was no longer needed.

Macroscope summarized 62c950d.

@tomholford
tomholford marked this pull request as ready for review June 14, 2026 03:13
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.37%. Comparing base (6b0bec9) to head (62c950d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #282   +/-   ##
=======================================
  Coverage   82.37%   82.37%           
=======================================
  Files           8        8           
  Lines         993      993           
=======================================
  Hits          818      818           
  Misses        118      118           
  Partials       57       57           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Header-based draft version negotiation was removed in quic-go#191; the server
no longer reads Sec-Webtransport-Http3-Draft02. The test helper was the
only remaining reference in the tree, so setting it had no effect.
@tomholford
tomholford force-pushed the drop-dead-draft02-test-header branch from e6a5f31 to 62c950d Compare June 14, 2026 03:25
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