function getBaseRequestId(record) {
  if (!record.requestId) return;

  const match = /^([\w.]+)(?::redirect)*$/.exec(record.requestId);
  return match?.[1];
}
Extract requestId without any `:redirect` strings.
@param {Partial<NetworkRequest>} record