fix follow redirect bug (#1568)
* fix follow redirect bug* ci: apply automated fixes---------Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
authored by Thibault Le Ouay autofix-ci[bot] and committed by GitHub 3 months ago 80dc85a8 6615575b