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

Function storeHeader

lib/_http_outgoing.js:602–607  ·  view source on GitHub ↗
(self, state, key, value, validate, lenient)

Source from the content-addressed store, hash-verified

600}
601
602function storeHeader(self, state, key, value, validate, lenient) {
603 if (validate)
604 validateHeaderValue(key, value, lenient);
605 state.header += key + ': ' + value + '\r\n';
606 matchHeader(self, state, key, value);
607}
608
609function matchHeader(self, state, field, value) {
610 if (field.length < 4 || field.length > 17)

Callers 1

processHeaderFunction · 0.85

Calls 1

matchHeaderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…