Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant