mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-15 15:32:03 -04:00
Extracted from https://github.com/lightpanda-io/browser/pull/3122. Sends RI for redirect. Also, on a continueRequest which does redirect, restores the original headers (continueRequest's headers are only valid for a single request). To make this work in all drivers, CDP now decouples the transfer_id from the intercept_id. Each unique request gets a distinct intercept_id which is managed in CDP (with a intercept_id -> transfer_id mapping).