mrStudent123

Results 4 comments of mrStudent123

Just realised this is directly related to #65

The RFC norm specifies that also relative links in the location header are allowed at certain status codes. This definitely is an issue with this library that is hard to...

I'm doing this manually by sending a HEAD request with URLConnection if I don't know the correct mimetype and content disposition. You can check the source of [DownloadHandler](https://android.googlesource.com/platform/packages/apps/Browser/+/master/src/com/android/browser/DownloadHandler.java) and [FetchUrlMimeType](https://android.googlesource.com/platform/packages/apps/Browser/+/master/src/com/android/browser/FetchUrlMimeType.java)...

i realized that too, so my workaround is to only update progress if the download didn't complete/fail before. Best fix would be to do this check before calling the listener...