Dominik Riebeling
|
be594f6c8c
|
percent-encode the query parts of a request too, not only the path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17263 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-27 17:32:49 +00:00 |
|
Dominik Riebeling
|
73d1eb4ac0
|
Make httpget class work with URI paths containing characters that need to be percent-encoded. Fixes FS#8872. Add a few comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17099 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-13 18:43:51 +00:00 |
|
Dominik Riebeling
|
5076dca58e
|
Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-06 18:00:32 +00:00 |
|
Dominik Riebeling
|
2bcc5f782d
|
make sure cachefolder is existent when enabling it using setCache(bool). Fixes cache not working properly if the cache folder didn't exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16991 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-06 17:20:13 +00:00 |
|
Dominik Wenger
|
c0fb5b815e
|
rbutil: fix a debug output, so it compiles again on windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16677 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-15 14:50:42 +00:00 |
|
Dominik Riebeling
|
5a75184c4a
|
add global proxy / cache settings to httpget class. This removes the need of passing proxy / cache values around all the time. Each object can still override the global values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16530 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-05 21:12:24 +00:00 |
|
Dominik Riebeling
|
c7727da19f
|
httpget class: if a request is cancelled before a response is available give a hint about this instead of returning a nonsense response value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16463 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-01 13:52:02 +00:00 |
|
Antoine Cellerier
|
3503c1aaad
|
Fix, take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14702 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-14 22:13:46 +00:00 |
|
Antoine Cellerier
|
b8f1e746bd
|
Fix http caching.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14701 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-14 21:55:54 +00:00 |
|
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 |
|