code: def parse_headers_link(headers):
      
  
      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
docs: Returns the parsed header links of the response, if any.