Exception: MCPClient::Errors::HeaderMismatchError
- Inherits:
-
ServerError
- Object
- StandardError
- MCPError
- ServerError
- MCPClient::Errors::HeaderMismatchError
- Includes:
- ModernProtocolError
- Defined in:
- lib/mcp_client/errors.rb
Overview
-32020 HeaderMismatch (MCP 2026-07-28, Streamable HTTP): the HTTP headers mirrored from the request body (Mcp-Method, Mcp-Name, Mcp-Param-*, MCP-Protocol-Version) are missing, malformed, or do not match the body. Its schema mandates no data.
Instance Attribute Summary
Attributes inherited from ServerError
Method Summary
Methods included from ModernProtocolError
Methods inherited from ServerError
from_jsonrpc, #initialize, #modern_http_protocol_error?, #modern_protocol_error?, #modern_protocol_error_for_probe?, #protocol_error?, #well_formed?
Methods inherited from MCPError
Constructor Details
This class inherits a constructor from MCPClient::Errors::ServerError