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

Function fromWebResponse

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

Source from the content-addressed store, hash-verified

80 * with no content type.
81 */
82const fromWebResponse = (response: Response): HttpServerResponse.HttpServerResponse =>
83 HttpServerResponse.raw(response, {
84 status: response.status,
85 statusText: response.statusText,
86 headers: response.headers,
87 });
88
89/**
90 * 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