system_assignation/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js

14 lines
186 B
JavaScript

'use strict';
module.exports = header => {
switch (header) {
case ':method':
case ':scheme':
case ':authority':
case ':path':
return true;
default:
return false;
}
};