def ignore_case_get(args, key, def_val=''):
    """
    get the value of key
    """
    if not key:
        return def_val
    if key in args:
        return args[key]
    for old_key in args:
        if old_key.upper() == key.upper():
            return args[old_key]
    return def_val
