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
Recently, we get a lot of broken files after downloaded, so we want to check if the download urls are redirected and record the true download url when we get a broken file. Any idea about how to implement this? Thanks very much.
The text was updated successfully, but these errors were encountered:
In the old version(before v1.3.9), the redirect have been handled by okHttp(we will use the final url to fetch data-stream after redirect).
But in the latest version, since FileDownloader no longer dependent the okHttp, and the default connection component is FileDownloadUrlConnection which just use URL#openConnection, it doesn't handle redirect-state.
So in the current latest version, you can wrap your own FileDownloadConnection to handle redirect by yourself, please move to the doc.
Hi,
Recently, we get a lot of broken files after downloaded, so we want to check if the download urls are redirected and record the true download url when we get a broken file. Any idea about how to implement this? Thanks very much.
The text was updated successfully, but these errors were encountered: