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

Function documentRequest

e2e/cloud/connect-card-ssr-origin.test.ts:22–25  ·  view source on GitHub ↗
(url: URL, cookie: string)

Source from the content-addressed store, hash-verified

20
21/** A document navigation request — what the SSR gate keys on. */
22const documentRequest = (url: URL, cookie: string) =>
23 Effect.promise(() =>
24 fetch(url, { redirect: "manual", headers: { accept: "text/html", cookie } }),
25 );
26
27/**
28 * The install command is rendered inside a <pre> (shiki's grammar isn't loaded

Callers 1

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected