remove(name:)

Remove all values for a given header name from the block.

HTTPHeaders+Name.swift:464
mutating func remove(name: Name)

Parameters

name

The name of the header field to remove from the block.

This method uses case-insensitive comparisons for the header field name.