MCPcopy Create free account
hub / github.com/angular/dev-infra / isValidHeaderValue

Function isValidHeaderValue

github-actions/browserstack/set-browserstack-env.js:1564–1566  ·  view source on GitHub ↗
(characters)

Source from the content-addressed store, hash-verified

1562 }
1563 var headerCharRegex = /[^\t\x20-\x7e\x80-\xff]/;
1564 function isValidHeaderValue(characters) {
1565 return !headerCharRegex.test(characters);
1566 }
1567 function parseRangeHeader(range) {
1568 if (range == null || range === "")
1569 return { start: 0, end: null, size: null };

Callers 5

constructorMethod · 0.70
processHeaderFunction · 0.70
responseLocationURLFunction · 0.70
appendHeaderFunction · 0.70
setMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected