getFirst

Retrieves the first header matching the given name or throws an error.

Parameters

name

Name of the header to find; names are compared case insensitively.

Throws

Thrown when no header with the given name was found.