Returns the parsed header links of the response, if any.

def parse_headers_link(headers):
    """Returns the parsed header links of the response, if any."""

    header = CaseInsensitiveDict(headers).get('link')

    l = {}

    if header:
        links = parse_link(header)

        for link in links:
            key = link.get('rel') or link.get('url')
            l[key] = link

    return l