def parseCustomHeaders(custom: str) -> list:
    """
    Parse string of semi-colon seperated custom headers in to a list
    """
    if ";" in custom:
        if custom.endswith(';'):
            custom = custom[:-1]
        return custom.split(';')
    else:
        return [custom]