• Parses HTTP header value that may contain date/time.

    Splits the value onto items.

    Parser is configured with default config except date/time parsing enabled.

    Does not recognize comments.

    Handles date/time values in IMF-fixdate format only.

    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