Name

A case-insensitive but case-preserving ASCII string with an allowed character set defined in RFC 9110.

HTTPFieldName.swift:29
struct Name

https://www.rfc-editor.org/rfc/rfc9110.html#name-field-names

Common HTTP field names are provided as convenience static properties, and for custom field names, it is recommended to extend the HTTPField.Name struct with new static members.

extension HTTPField.Name {
    static let example = Self("X-Example")!
}