()
| 24 | import { parseTraceparent } from "./traceparent"; |
| 25 | |
| 26 | const corsPreflightResponse = (): Response => |
| 27 | new Response(null, { |
| 28 | status: 204, |
| 29 | headers: { |
| 30 | "access-control-allow-origin": "*", |
| 31 | "access-control-allow-methods": "GET, POST, DELETE, OPTIONS", |
| 32 | "access-control-allow-headers": |
| 33 | "content-type, authorization, mcp-session-id, accept, mcp-protocol-version", |
| 34 | "access-control-expose-headers": "mcp-session-id, WWW-Authenticate", |
| 35 | }, |
| 36 | }); |
| 37 | |
| 38 | const jsonRpcResponse = ( |
| 39 | status: number, |
no outgoing calls
no test coverage detected