@staticmethod
    def _normalize_name(name):
        try:
            return HTTPHeaders._normalized_headers[name]
        except KeyError:
            if HTTPHeaders._NORMALIZED_HEADER_RE.match(name):
                normalized = name
            else:
                normalized = "-".join(
                    [w.capitalize() for w in name.split("-")])
            HTTPHeaders._normalized_headers[name] = normalized
            return normalized
Converts a name to Http-Header-Case.
dataset/ETHPy150Open toastdriven/itty/itty.py/HTTPHeaders._normalize_name