Skip to main content
Go to Latest
function _checkIsHttpToken
import { _checkIsHttpToken } from "https://deno.land/std@0.139.0/node/_http_common.ts";

Verifies that the given val is a valid HTTP token per the rules defined in RFC 7230 See https://tools.ietf.org/html/rfc7230#section-3.2.6

Parameters

val: string