MCPcopy Index your code
hub / github.com/nodejs/node / appendFetchMetadata

Function appendFetchMetadata

deps/undici/undici.js:5366–5370  ·  view source on GitHub ↗
(httpRequest)

Source from the content-addressed store, hash-verified

5364 }
5365 __name(TAOCheck, "TAOCheck");
5366 function appendFetchMetadata(httpRequest) {
5367 let header = null;
5368 header = httpRequest.mode;
5369 httpRequest.headersList.set("sec-fetch-mode", header, true);
5370 }
5371 __name(appendFetchMetadata, "appendFetchMetadata");
5372 function appendRequestOriginHeader(request) {
5373 let serializedOrigin = request.origin;

Callers 1

httpNetworkOrCacheFetchFunction · 0.70

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…