Instance Method
remove(name:)
Remove all values for a given header name from the block.
mutating func remove(name: HTTPHeaders.Name)
Parameters
nameThe name of the header field to remove from the block.
Discussion
This method uses case-insensitive comparisons for the header field name.