You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if there were a way to get all redirected urls in a request. So if you request url a, but it redirects to b which redirects to c and finally to d, if there were a urls property on the response that would return ['a', 'b', 'c', 'd']. There's the redirect event that could be used to capture these urls but that seems to only work when using streams.
The text was updated successfully, but these errors were encountered:
I saw nice trick in aggregate-error – we can make url an iterable with toString method that get last url. But this will be surprising for some people, I guess.
It would be useful if there were a way to get all redirected urls in a request. So if you request url
a
, but it redirects tob
which redirects toc
and finally tod
, if there were aurls
property on the response that would return['a', 'b', 'c', 'd']
. There's theredirect
event that could be used to capture these urls but that seems to only work when using streams.The text was updated successfully, but these errors were encountered: