Files
gitea-mcp/operation
silverwind ed1713636a revert: remove unnecessary Content-Type middleware for 202/204
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>
2026-03-09 14:25:08 +01:00
..