Revert "Save cookies on redirect response (#6094)" (#6413)

This reverts commit 1b9ea478da.
This commit is contained in:
Bijin A B
2025-12-15 20:10:06 +05:30
committed by GitHub
parent 014817810d
commit a9c63e6f2a
2 changed files with 0 additions and 8 deletions

View File

@@ -546,10 +546,6 @@ const runSingleRequest = async function (
err.response.dataBuffer = dataBuffer;
response = err.response;
if (!options.disableCookies) {
saveCookies(request.url, err.response.headers);
}
// Prevents the duration on leaking to the actual result
responseTime = response.headers.get('request-duration');
response.headers.delete('request-duration');