MCPcopy
hub / github.com/axios/axios / normalizeHeader

Function normalizeHeader

lib/core/AxiosHeaders.js:9–11  ·  view source on GitHub ↗
(header)

Source from the content-addressed store, hash-verified

7const $internals = Symbol('internals');
8
9function normalizeHeader(header) {
10 return header && String(header).trim().toLowerCase();
11}
12
13function normalizeValue(value) {
14 if (value === false || value == null) {

Callers 5

setHeaderMethod · 0.85
getMethod · 0.85
hasMethod · 0.85
deleteHeaderMethod · 0.85
defineAccessorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected