function validateName$5(name) {
	name = `${name}`;
	if (invalidTokenRegex$5.test(name) || name === '') {
		throw new TypeError(`${name} is not a legal HTTP header name`);
	}
}
headers.js

Headers class offers convenient helpers