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

14 lines
186 B
JavaScript
Raw Normal View History

2022-03-24 09:22:39 -04:00
'use strict';
module.exports = header => {
switch (header) {
case ':method':
case ':scheme':
case ':authority':
case ':path':
return true;
default:
return false;
}
};