dduan/Just

Does Just follow redirect links?

tetron432 opened this issue · 0 comments

I want to get the real link of a page from a link that redirects, such as this: https://apple.news/AQZXxg8mUQfKrEaM9MRBpxw . However, when I do

    Just.get("https://apple.news/AQZXxg8mUQfKrEaM9MRBpxw")
    { r in
        
        print(r.statusCode)
        print(r.url)
    }

it still prints the same link. Does Just not get real redirect links or am I doing it wrong?