Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function _checkIsHttpToken
import { _checkIsHttpToken } from "https://deno.land/std@0.160.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