Expand description
Strict building blocks for HTTP field maps.
These helpers implement the field-line handling used by the higher-level extractors. They deliberately do not combine repeated lines unless the field-specific extractor owns that grammar. See RFC 9110, Section 5 for HTTP field semantics.
Functionsยง
- append_
header_ value - Append one already validated field value without replacing existing values.
- extract_
single_ header_ text - Extract a singular field as text without silently discarding invalid bytes.
- extract_
single_ header_ value - Extract a field value only when the field has at most one field line.