Comments (7)
Please check whether your FileDownloadListener#connected
with the non nil ETag
back.
from filedownloader.
I tried to download a video but the etag is always nil but if image not nil.
from filedownloader.
So sorry, ETag
is carry back by the response's header, I think you should ask your back-end colleague for help.
ps: Support for Resume Breakpoint because
ETag
.
from filedownloader.
ohhh. i see. cool! I think all of the sample images have ETags. :)
Thanks!
from filedownloader.
Good luck. :)
from filedownloader.
Hi @Jacksgong does cache control matters? like public or private.
This is my error.
`response code error: 500,
request headers: If-Match: "asset-12c1031-3c834c-52c187443f040"
Range: bytes=723115-
Cache-Control: no-cache
response headers: Server: nginx/1.8.1
Date: Tue, 08 Mar 2016 03:03:07 GMT
Content-Type: text/html
Content-Length: 19229
Connection: keep-alive
Cache-Control: private, must-revalidate
Set-Cookie: laravel_session=eyJpdiI6ImtyVFZcL3dOU0d1XC9tTW92N2FDQzFRQT09IiwidmFsdWUiOiIranFFbUhXaHVwc1RMZVlWNWhQVmVhKzZjXC9TZFhTa3FoNzZSbVVXc1JXWW9pMnljT2l4eWV5dDdERFRVaDZmOTI2QjBHalNMdENzdXVadXk2T3psekE9PSIsIm1hYyI6IjE0OGNkOTA4Njg1NjA4Y2UzZjM0Yzc5MjU1OGMwNGZjNWIwY2YxNzdjMGY2OTYyZDA3YzZmNWQ0Y2VjMmUwNGMifQ%3D%3D; expires=Tue, 08-Mar-2016 05:03:07 GMT; Max-Age=7200; path=/; httponly
Last-Modified: Wed, 12 Feb 2014 19:04:52 GMT
Accept-Ranges: bytes
OkHttp-Sent-Millis: 1457406184805
OkHttp-Received-Millis: 1457406185253`
We tried cache control private but no luck. We are new in caching stuffs.
Thanks
from filedownloader.
The Cache-Control
is just for OkHttp, and we already save the response content to our path, so we don't need and Cache by OkHttp.
P.S: response code error: 500
means: Remote Server Internal Error(Ref. HTTP Error 500 Internal server error ), Not our Application's fault.
from filedownloader.
Related Issues (20)
- W/FileDownloader.FileDownloadUtils: don't get instance length fromContent-Range header HOT 1
- 这么好的一个库既然没有人维护了 HOT 1
- https://bugs.chromium.org/p/chromium/people/detail?u=2599207410
- Yeah
- https://g.dev/Needfulthings
- 潜在的多线程调用可能引发的崩溃
- v1.7.5版本关闭debug后无法正常下载,error和completed回调都不走
- Foreground service types are required on `targetSdk` 34 HOT 7
- 在V1.7.7版本上,下载中直接没有通知进度了,看进程还在的,就是没有进度也没有继续下载了,并且查询当前task是还在下载状态,
- 文件第二次下载会删除之前下载好的文件,这是为什么
- Caused by android.app.ForegroundServiceStartNotAllowedException Service.startForeground() not allowed due to mAllowStartForeground false: HOT 1
- Caused by android.app.ForegroundServiceStartNotAllowedException Service.startForeground() not allowed due to mAllowStartForeground false:
- FileDownloadService.inspectRunServiceForeground android.app.MissingForegroundServiceTypeException - Starting FGS without a type callerApp=ProcessRecord{ae38c1e 15288:filedownloader/u0a146} targetSDK=34 HOT 1
- File
- file
- File
- 红米的android 13部分手机会出现SecurityException HOT 1
- SQLiteDatabaseLockedException 1.7.5版本崩溃
- Sim
- 很小概率遇到一个很奇怪的问题,文件正常下载完成了,size 是对的,文件内容有一段错位了,导致文件是损坏的
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 filedownloader.