MCPcopy
hub / github.com/di-sukharev/opencommit / isValidHTTPToken

Function isValidHTTPToken

out/cli.cjs:50534–50544  ·  view source on GitHub ↗
(characters)

Source from the content-addressed store, hash-verified

50532 case 93:
50533 case 123:
50534 case 125:
50535 return false;
50536 default:
50537 return c4 >= 33 && c4 <= 126;
50538 }
50539 }
50540 function isValidHTTPToken(characters) {
50541 if (characters.length === 0) {
50542 return false;
50543 }
50544 for (let i3 = 0; i3 < characters.length; ++i3) {
50545 if (!isTokenCharCode(characters.charCodeAt(i3))) {
50546 return false;
50547 }

Callers 2

isValidHeaderName2Function · 0.85
constructorMethod · 0.85

Calls 1

isTokenCharCodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…