Skip to content

feat(endpoint): add accept_with_headers to SessionRequest#304

Merged
BiagioFesta merged 3 commits intoBiagioFesta:masterfrom
moqtail:add-header-in-accept
Apr 17, 2026
Merged

feat(endpoint): add accept_with_headers to SessionRequest#304
BiagioFesta merged 3 commits intoBiagioFesta:masterfrom
moqtail:add-header-in-accept

Conversation

@zafergurel
Copy link
Copy Markdown
Contributor

Allows the server to include custom response headers when accepting an incoming WebTransport session. Headers can be passed as any iterable of key-value pairs.

In MOQtail relay, we need this feature to implement ALPN.
Please see https://github.com/moqtail/moqtail/blob/f0852da4c6872aeabf53567987e0c0f2b4256146/apps/relay/src/server/session.rs#L90-L104

Allows the server to include custom response headers when accepting an
incoming WebTransport session. Headers can be passed as any iterable
of key-value pairs.
Comment thread wtransport/src/endpoint.rs Outdated
Comment thread wtransport/src/endpoint.rs Outdated
@BiagioFesta
Copy link
Copy Markdown
Owner

Thanks I am going to review and approve by the end of this week

Comment thread wtransport/src/endpoint.rs Outdated
Copy link
Copy Markdown
Owner

@BiagioFesta BiagioFesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the contribution! :)

@BiagioFesta BiagioFesta merged commit 3d55478 into BiagioFesta:master Apr 17, 2026
8 checks passed
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.

2 participants