MCPcopy
hub / github.com/withastro/astro / get

Function get

packages/astro/test/units/app/prerender-allowed-domains.test.ts:27–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 const originalHeaders = request.headers;
26 Object.defineProperty(request, 'headers', {
27 get() {
28 headersAccessed = true;
29 return originalHeaders;
30 },
31 });
32
33 new FetchState(pipeline, request, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected