code: function parseLinks(target, resp) {
    target._links = parseLinkHeader(resp.headers.get('link'));
    target._linkTemplates = parseLinkHeader(resp.headers.get('link-template'));
    return resp
  }
docs: Parse Link and Link-Template headers and set them on the target.