Comments (17)
这是因为你服务端返回的响应码不对,你看看是不是404
from rxdownload.
from rxdownload.
抓个包啊
from rxdownload.
from rxdownload.
我现在下载的是mp3文件
from rxdownload.
HEAD http://cdn.apandim.com//mp3/uyghur/sazim/kizimga-hat.mp3 HTTP/1.1
Range: bytes=0-
If-Range: Sat, 26 Nov 2016 10:05:21 GMT+00:00
Host: cdn.apandim.com
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/3.4.1
from rxdownload.
能不能修改user agent
from rxdownload.
检查一下你的服务器, 为什么返回的是这个值
from rxdownload.
正常情况下, 当我请求头加上Range字段的时候, 服务器返回的应该是这样的
from rxdownload.
user-agent是OKHTTP设置的, 若你需要更改可以自己定义Retrofit客户端, 然后传给RxDownload使用就行了
from rxdownload.
没有解决办法吗?
from rxdownload.
你是只要下载就行是吗?还是必须得断点下载?
from rxdownload.
下载就可以了
from rxdownload.
那我这边给你处理一下,下午发个新版本,你注意一下
from rxdownload.
好的!非常感谢!
from rxdownload.
@sabirjan 新版本已发, 版本号1.2.7, RxJava2分支正在修改中, 稍后发.
from rxdownload.
@sabirjan RxJava2分支也发布了, 版本号1.0.5
from rxdownload.
Related Issues (20)
- task_record 表中id所用的task hashCode超出int类型最大值
- 文档有些简陋啊,能否补全一下文档!
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 2
- Provide better Error messages
- 下载异常stream was reset: PROTOCOL_ERROR HOT 1
- How to sort list by it's download time? HOT 1
- How to delete single item from recorder database ?
- 大佬什么时候能升级rxjava3.0 HOT 1
- download keep suspending on download multiple files. HOT 1
- 配置文件都是同一个URL,所以每次不管有没有更新都识别为同一个文件,有办法关闭这个缓存吗? HOT 3
- 有时候会出现:FATAL EXCEPTION: RxCachedThreadScheduler-3 HOT 3
- Downloading files bigger than 15 mb doesn't seem to work on lower-end devices HOT 3
- UndeliverableException due to SocketException when cancel the download
- how to restart a download task with the same url after delete it
- It always timeout when I download AWS CDN resources with RxDownload4 HOT 4
- how to change request in rxdownload HOT 2
- download a large file with slow internet connection (for example GPRS) returns TimeoutException HOT 2
- 频繁点击清空缓存、下载出现崩溃,报错Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR) HOT 2
- 最大下载数限制设置未生效? HOT 7
- 删除后没有删除记录
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxdownload.