Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Does Just follow redirect links? #122

Open
tetron432 opened this issue Aug 12, 2019 · 0 comments
Open

Does Just follow redirect links? #122

tetron432 opened this issue Aug 12, 2019 · 0 comments

Comments

@tetron432
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant