import string


def reform_header(header: str) -> str:
    """
    Converts "HTTP_SET_COOKIE" -> "Set-Cookie"
    """

    without_http = header[5:]
    dash_sep = without_http.replace("_", "-")
    capitalized = string.capwords(dash_sep, "-")

    return capitalized