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

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

        # l = MultiDict()
        l = {}

        if header:
            links = parse_header_links(header)

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

        return l
Returns the parsed header links of the response, if any.
product/gradle-plugin/src/main/python/pip/_vendor/requests/models.py