Enable follow-redirect option trackRedirects
in Axios
#6487
Unanswered
saqib-ahmed
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to enable the
trackRedirects
flag provided byfollow-redirects
in Axios. I couldn't find any mention in the code search or documentation.My use case is that I want to track all the intermediate redirect steps while resolving a URL. I can see this code here in follow-redirects which adds the list of all the intermediate URLs. I can see this object in axios response, but it is empty because
trackRedirects
isfalse
by default.Beta Was this translation helpful? Give feedback.
All reactions