You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e0990bf
Browse filesBrowse the repository at this point in the historyBrowse files
Thread per-message headers from session to transport via CallOptions/metadata sidecar
Additive infrastructure for the client-side outbound stamp:
- CallOptions gains a headers key; ClientMessageMetadata gains a headers field
- _plan_outbound projects opts['headers'] onto the metadata (same path
resumption tokens take); JSONRPCDispatcher.notify accepts opts and threads
headers through
- Outbound.notify Protocol grows opts=None; all implementers updated
(Connection, _NoChannelOutbound, _SingleExchangeDispatchContext, peer,
context, DirectDispatcher, test stubs)
- StreamableHTTPTransport's POST path merges metadata.headers into the
request (alongside existing _prepare_headers/_per_message_headers, which
are removed in the next commit)
- MCP_METHOD_HEADER, MCP_NAME_HEADER, encode_header_value moved to
shared/inbound (single source for the header names)
- Tests pin both new paths
0 commit comments