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

Method headers

deps/undici/src/lib/web/fetch/request.js:620–625  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

618 // Note that headers added in the network layer by the user agent will not
619 // be accounted for in this object, e.g., the "Host" header.
620 get headers () {
621 webidl.brandCheck(this, Request)
622
623 // The headers getter steps are to return this’s headers.
624 return this.#headers
625 }
626
627 // Returns the kind of resource requested by request, e.g., "document"
628 // or "script".

Callers 1

matchHeadersFunction · 0.45

Calls 1

brandCheckMethod · 0.80

Tested by

no test coverage detected