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

Function isPseudoHeader

lib/internal/http2/compat.js:99–110  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

97});
98
99function isPseudoHeader(name) {
100 switch (name) {
101 case HTTP2_HEADER_STATUS: // :status
102 case HTTP2_HEADER_METHOD: // :method
103 case HTTP2_HEADER_PATH: // :path
104 case HTTP2_HEADER_AUTHORITY: // :authority
105 case HTTP2_HEADER_SCHEME: // :scheme
106 return true;
107 default:
108 return false;
109 }
110}
111
112function statusMessageWarn() {
113 if (statusMessageWarned === false) {

Callers 1

compat.jsFile · 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…