Commit graph

7 commits

Author SHA1 Message Date
Dominik Riebeling
5ef236869f Implement download caching. Set the folder for the cache data in the configuration dialog. Caching is disabled per default and defaults to the systems temp folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14476 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:40:35 +00:00
Dominik Riebeling
53fbd6d01d 302 is also a valid redirect. Also keep the original query when redirecting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14362 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 20:30:36 +00:00
Dominik Riebeling
57dd552e00 Don't close http connection manually, the destructor will do that anyway. Fixes some download problems. Also add support for following moved documents (http status 301, 303 and 307).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14361 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 20:08:02 +00:00
Dominik Riebeling
8897e8cdfd more fixing on downloading class: toEncoded can't be used as get parameter. Use path() and construct query parameters ourselves.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14355 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 14:15:24 +00:00
Dominik Riebeling
e59cf6b9df (hopefully) fix some broken download stuff I introduced yesterday.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14354 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 13:28:15 +00:00
Dominik Riebeling
07e4ddb79d Extend HttpGet class to allow downloading a file to a buffer instead of a file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14347 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:47:01 +00:00
Dominik Riebeling
680408f4ac First stab at porting rbutil to Qt4. Currently only installing a current or archived build is working. To build, run qmake && make in the source folder. Beware that the syntax of rbutil.ini has slightly changed. Caching of the downloaded files is also still missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13989 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 20:21:06 +00:00