Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions isHttp1HeaderValue

1
2
3
4
5
module juptune.http.v1;

bool isHttp1HeaderValue(
    const const char[] value
);

Documentation

Checks if a string is a valid HTTP header value as defined by RFC 9110.

Not the most useful function for user code, but there's no reason to not have it be public.

Notes

An empty string is not considered a valid header value.

Params

Returns

trueif the header value is valid, falseotherwise.