MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / fromWebResponse

Function fromWebResponse

packages/hosts/mcp/src/envelope.ts:59–64  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

57 * with no content type.
58 */
59const fromWebResponse = (response: Response): HttpServerResponse.HttpServerResponse =>
60 HttpServerResponse.raw(response, {
61 status: response.status,
62 statusText: response.statusText,
63 headers: response.headers,
64 });
65
66/**
67 * The canonical CORS preflight `Response` (204) answered for an `OPTIONS` on

Callers 4

discoveryRouteFunction · 0.85
mcpDispatchFunction · 0.85
mcpRouteFunction · 0.85
envelope.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected