init(name:lenientValue:)

Create an HTTP field from a name and a value. Leniently legalize the value.

HTTPField.swift:76
init(name: Name, lenientValue: some Collection<UInt8>)

Parameters

name

The HTTP field name.

lenientValue

The HTTP field value. Newlines and NULs are converted into space characters.