The request headers that mirror the body on the modern Streamable HTTP
transport: Mcp-Method, Mcp-Name and Mcp-Param-*, with the Base64
sentinel encoding for values that are not plain ASCII.
Summary
Functions
Encodes a string, integer or boolean for a header.
Checks the mirrored headers of a modern request against the body.
Functions
Encodes a string, integer or boolean for a header.
@spec validate(Plug.Conn.t(), Sake.JSONRPC.parsed(), Sake.Tool.Spec.t() | nil) :: :ok | {:error, String.t()}
Checks the mirrored headers of a modern request against the body.