@property
def links(self):
    'Returns the parsed header links of the response, if any.'
    header = self.headers.get('link')
    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.
@property
def links(self):
    
    header = self.headers.get('link')
    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