We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now downloadFile does not follow redirects on Android where it does on iOS.
The text was updated successfully, but these errors were encountered:
I added this hack to download and it "works" though it is a hack:
if(statusCode == 302) { String location = headers.get("Location").get(0); param.src = new URL(location); download(param, res); return; }
Sorry, something went wrong.
In investigating further it looks looks like HttpURLConnection on Android won't follow redirects from HTTP to HTTPS:
HttpURLConnection
This implementation doesn't follow redirects from HTTPS to HTTP or vice versa.
whereas it seems the library on iOS does.
This should work as of version 1.5.0.
1.5.0
No branches or pull requests
Right now downloadFile does not follow redirects on Android where it does on iOS.
The text was updated successfully, but these errors were encountered: