fix cookies not being set when follow redirect = false (#6679)

* fix follow redirect cookies not being set

* Set default value of followredirects in axios-instance

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Jeroen Vinke <jeroen.vinke@iddinkgroup.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jeroen Vinke
2026-02-17 14:11:14 +01:00
committed by GitHub
parent 540bb706e5
commit 03f7e60c66
4 changed files with 23 additions and 4 deletions

View File

@@ -647,7 +647,8 @@ const runSingleRequest = async function (
let axiosInstance = makeAxiosInstance({
requestMaxRedirects: requestMaxRedirects,
disableCookies: options.disableCookies
disableCookies: options.disableCookies,
followRedirects: followRedirects
});
if (request.ntlmConfig) {