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
1. Use -32001 HeaderMismatch error code (SEP-2243) for language
header/body mismatch on both client and server sides.
2. Add error-response localization: getErrorContentLanguage/
setErrorContentLanguage helpers for error.data._meta, mirror
Content-Language header from error responses, demonstrate in
example server (empty name triggers localized error).
3. Remove batch handling from client Accept-Language extraction
(MCP no longer permits JSON-RPC batches over Streamable HTTP).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
`Accept-Language header "${existingHeader}" conflicts with _meta["${ACCEPT_LANGUAGE_META}"] value "${metaAcceptLanguage}". They must be identical per SEP-2792.`
573
+
`Accept-Language header "${existingHeader}" conflicts with _meta["${ACCEPT_LANGUAGE_META}"] value "${metaAcceptLanguage}". They must be identical per SEP-2243 (HeaderMismatch code ${HEADER_MISMATCH_ERROR_CODE}).`
0 commit comments