def parse_links_header(links_str):<EOL>
result = {}<EOL>parts = links_str.split('<STR_LIT:U+002C>')<EOL>for p in parts:<EOL><INDENT>name = re.search(r'<STR_LIT>', p).group(<NUM_LIT:1>)<EOL>url = re.search(r'<STR_LIT>', p).group(<NUM_LIT:1>)<EOL>result[name] = url<EOL><DEDENT>return result<EOL>
Parse the link http header including resource metadata.

    :param links_str: link http header
    :type links_str: str
    :return: dictionary where key is the link name and value is the link
    :rtype dict[str, str]