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

Function isConnectionHeaderAllowed

lib/internal/http2/compat.js:122–125  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

120}
121
122function isConnectionHeaderAllowed(name, value) {
123 return name !== HTTP2_HEADER_CONNECTION ||
124 value === 'trailers';
125}
126
127function connectionHeaderMessageWarn() {
128 if (statusConnectionHeaderWarned === false) {

Callers 3

compat.jsFile · 0.85
[kSetHeader]Method · 0.85
[kAppendHeader]Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…