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 http1CanonicalHeaderNameInPlace

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

bool http1CanonicalHeaderNameInPlace(
    ubyte[] headerName
);

Documentation

Helper functions

Normalises a header name in-place. More specifically this converts the header name to lowercase, while also checking that the header name is valid.

Notes

If normalisation fails, the header name will be left in a half-modified state.

Params

Returns

trueif the header name was valid, falseotherwise.