fix: Use lowercase header names

This commit is contained in:
Geng Yan 2025-04-01 10:58:37 +08:00 • committed by ihrpr
commit 970cf9d5b1
No known key found for this signature in database

View file

@ -69,7 +69,7 @@ describe("StreamableHTTPServerTransport", () => {
expect(mockResponse.writeHead).toHaveBeenCalledWith(
200,
expect.objectContaining({
"Mcp-Session-Id": transport.sessionId,
"mcp-session-id": transport.sessionId,
})
);
});