GithubHelp home page GithubHelp logo

Comments (4)

Jacksgong avatar Jacksgong commented on May 10, 2024

你可以试下demo中是可以的。目前线上版本(0.2.0或者更低版本)的FileDownloader的断点续传是需要返回回来的response头部必须存在etag的,如果不存在etag就不支持断点续传了。(你可以检测下看看,你的FileDownloadListener#connected的回调中的etag是否为空。如果为空的话,可能需要你服务端添加下etag)。

from filedownloader.

abc20899 avatar abc20899 commented on May 10, 2024

是空的 还有isContinue 的值是 false

from filedownloader.

abc20899 avatar abc20899 commented on May 10, 2024

怎么在服务端添加呢

from filedownloader.

Jacksgong avatar Jacksgong commented on May 10, 2024

服务端添加etag应该是比较简单的,你可以和你们服务端说下让他们支持下,一般根据不同的环境,下载Etag模块,稍作配置就可以了。

from filedownloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.