• Parses HTTP header value.

    Splits the value onto items.

    Parser is configured with default config.

    Does not recognize comments or date/time values.

    Treats illegal characters as ASCII letters.

    Parameters

    • this: void
    • value: string

      HTTP header value to parse.

    Returns HthvItem<"has-name" | "no-name", "has-tag" | "no-tag", "has-params" | "no-params">[]

    An array of comma- or space- separated value items.

Generated using TypeDoc