def METHOD_NAME(dict_headers):  # filter_dup=True
    hhhash = ''
    previous_header = ''
    for header in dict_headers:
        header_name = header.get('name')
        if header_name:
            if header_name != previous_header:  # remove dup headers, filter playwright invalid splitting
                hhhash = f'{hhhash}:{header_name}'
                previous_header = header_name
    hhhash = hhhash[1:]
    # print(hhhash)
    return hhhash