Files
github--github-mcp-server/pkg
Iryna Kulakova 302c35b0bb Fix Content-Type rejection for application/json; charset=utf-8
Add NormalizeContentType middleware that strips optional parameters
(e.g. charset=utf-8) from application/json Content-Type headers before
the request reaches the Go SDK's StreamableHTTP handler, which performs
strict string matching.

Per RFC 8259, the charset parameter is redundant for JSON but must be
accepted per HTTP semantics.

Fixes #2333

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-21 14:00:28 +02:00
..
2026-02-19 15:17:52 +00:00
2026-02-12 11:04:54 +01:00
2025-11-06 14:48:11 +01:00