Initialize from a D associative array.
Add a value for the given header. Adds a new instance of the header if one already existed.
Retrieve the value of the given header if it is present, otherwise return def.
Retrieve all values of the given header.
Lazy version of get.
Iterate over all headers, including multiple instances of the seame header.
If the given header exists, return a pointer to the first value. Otherwise, return null.
True-ish if any headers have been set.
Converts to a D associative array, with at most one value per header. Warning: discards repeating headers!
Converts to a D associative array.
If multiple headers with this name are present, only the first one is returned.
Sets the given header to the given value, overwriting any previous values.
Remove the given header. Does nothing if the header was not present.
If the given header is not yet present, add it with the given value.
Creates and returns a copy of this Headers instance.
Returns the number of headers and values (including duplicate headers).
AA-like structure for storing headers, allowing for case insensitivity and multiple values per key.