Peter Serwylo
0164adc386
Don't depend on Content-Length headers to download ( Fixes #430 )
...
Instead, keep downloading until the `InputStream` returns -1.
Also, required updates to the UI so that when the download size is
not known, there is still a reasonable response to the user.
Note that this still fails when using the Android download manager
if the download attempts to get resumed, and the server did not
send a Connection: close, Content-Length, or Transfer-Encoding: Chunked
header.
2015-10-04 11:21:38 +11:00
..
2015-10-02 16:30:32 -07:00
2015-10-02 16:32:15 -07:00
2015-09-12 19:01:13 -07:00
2015-10-02 16:32:15 -07:00
2015-10-02 16:32:15 -07:00
2015-10-02 16:32:15 -07:00
2015-10-02 16:32:15 -07:00
2015-10-01 17:47:05 +03:00
2015-03-13 14:48:58 +01:00
2015-09-24 16:30:10 -07:00
2015-08-17 22:59:51 +10:00
2015-10-01 07:26:58 +03:00
2015-10-04 11:21:38 +11:00
2015-09-17 21:26:18 -07:00
2015-10-01 20:07:53 -07:00
2015-09-30 13:26:48 -07:00
2015-09-30 13:26:48 -07:00
2015-09-30 07:41:27 +02:00
2015-10-02 16:35:50 -07:00
2015-10-02 16:35:50 -07:00
2015-09-29 21:30:30 -07:00
2015-10-02 16:35:50 -07:00
2015-10-02 16:35:50 -07:00
2015-09-27 11:41:59 +03:00
2015-09-30 07:41:27 +02:00
2015-10-02 16:35:50 -07:00
2015-09-27 11:41:59 +03:00
2015-09-30 13:26:48 -07:00
2015-09-27 11:41:59 +03:00
2015-10-02 16:35:50 -07:00
2015-09-30 13:26:48 -07:00
2015-09-30 07:41:27 +02:00
2015-09-27 11:41:59 +03:00
2015-09-27 11:41:59 +03:00
2015-09-30 07:41:27 +02:00
2015-10-02 16:35:50 -07:00
2015-10-02 17:33:30 -07:00
2015-10-01 20:07:53 -07:00
2015-10-02 17:33:30 -07:00
2015-09-27 11:41:59 +03:00
2015-10-02 16:35:50 -07:00
2015-10-01 20:07:53 -07:00
2015-10-01 20:07:53 -07:00
2015-09-17 21:26:18 -07:00
2015-10-02 16:35:50 -07:00
2015-10-02 16:35:50 -07:00
2015-09-30 07:41:27 +02:00
2015-09-27 11:41:59 +03:00
2015-10-02 17:33:30 -07:00
2015-08-09 22:12:09 +10:00
2015-10-01 17:38:20 +03:00
2015-08-09 22:12:09 +10:00
2015-09-30 13:26:48 -07:00
2015-09-27 11:41:59 +03:00
2015-09-30 07:41:27 +02:00
2015-09-14 18:58:52 +02:00
2015-09-19 16:25:11 -07:00