Skip to main content
Glama
gilberth

MCP Cloudflare DNS Server

validate-header-value.js400 B
'use strict'; const { ERR_HTTP_INVALID_HEADER_VALUE, ERR_INVALID_CHAR } = require('./errors.js'); const isInvalidHeaderValue = /[^\t\u0020-\u007E\u0080-\u00FF]/; module.exports = (name, value) => { if (typeof value === 'undefined') { throw new ERR_HTTP_INVALID_HEADER_VALUE(value, name); } if (isInvalidHeaderValue.test(value)) { throw new ERR_INVALID_CHAR('header content', name); } };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gilberth/mcp-cloudflare'

If you have feedback or need assistance with the MCP directory API, please join our Discord server