Fix MCP session header timing per HTTP protocol specification
Set Mcp-Session-Id header before writing response body to ensure proper HTTP protocol compliance and MCP 2025-06-18 specification adherence. Headers must be sent before any response data per HTTP standards.
Showing
1 changed file
with
5 additions
and
5 deletions
-
Please register or sign in to post a comment