Gets a header as the specified type, or returns the default value if the header with the given name doesn't exist or is of an invalid format.
The name of the header, case-sensitive.
The default value to return if the header doesn't exist.
The value of the header as the specified type.
Gets a header as the specified type, or returns the default value if the header with the given name doesn't exist or is of an invalid format.