aboutsummaryrefslogtreecommitdiff
path: root/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js
blob: bed31cd86c643abd52252d74f1f98374cd326489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

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