mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2026-03-15 09:25:12 +00:00
The Content-Type middleware from #149 is unnecessary because rmcp already handles 202/204 responses correctly without Content-Type (returns early before any Content-Type validation). Both Go MCP SDKs also intentionally omit Content-Type on 202 responses per the MCP spec. The ErrServerClosed fix from #149 is preserved. See #148 for the full root cause analysis. Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>