Skip to content

NOT SUPPORT 301、302、307..?

Jacksgong edited this page Jun 9, 2017 · 1 revision

For light enough, the default connection component isn't supported handle such status code automatically, ref here.

But FileDownloader support CUSTOMIZE COMPONENTS,which means you can implement you own connection-component what support handling the 307、302 status, then register it.

The simplest way

import the component filedownloader-okhttp3-connection to support 302、307、etc Redirect cases