(self)
return l
Returns the parsed header links of the response, if any.
Returns the parsed header links of the response, if any.
Returns the parsed header links of the response if any .
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
def links ( self ) : 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