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

Function recordFromHeaders

packages/plugins/mcp/src/sdk/connection.ts:91–92  ·  view source on GitHub ↗
(headers: Headers)

Source from the content-addressed store, hash-verified

89 headers ? new Headers(headers) : new Headers();
90
91const recordFromHeaders = (headers: Headers): Record<string, string> =>
92 Object.fromEntries(headers.entries());
93
94const applyBody = async (
95 request: HttpClientRequest.HttpClientRequest,

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected