MCPcopy Create free account
hub / github.com/nodejs/node / clonePolicyContainer

Function clonePolicyContainer

deps/undici/src/lib/web/fetch/util.js:370–374  ·  view source on GitHub ↗
(policyContainer)

Source from the content-addressed store, hash-verified

368
369// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container
370function clonePolicyContainer (policyContainer) {
371 return {
372 referrerPolicy: policyContainer.referrerPolicy
373 }
374}
375
376/**
377 * Determine request’s Referrer

Callers 1

fetchingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected