isValidValue(_:)
Whether the byte collection is valid for an HTTP field value based on RFC 9110.
static func isValidValue(_ value: some Collection<UInt8>) -> Bool
Parameters
- value
The byte collection to validate.
Returns
Whether the byte collection is valid.
https://www.rfc-editor.org/rfc/rfc9110.html#name-field-values