Skip to main content
Module

std/node/_http_common.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.119.0/node/_http_common.ts";

Functions

True if val contains an invalid field-vchar field-value = ( field-content / obs-fold ) field-content = field-vchar [ 1( SP / HTAB ) field-vchar ] field-vchar = VCHAR / obs-text

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