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