normalizeHeaderName

Attempts to normalize the capitalization of a header name to a likely form. This involves capitalizing all words, plus rules to uppercase common acronyms used in header names, such as "IP" and "ETag".

pure
string
normalizeHeaderName
(
string header
)

Meta