Add setting the User-Agent for http requests to HttpGet class. Make rbutil set its own user agent string.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18366 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-08-30 20:51:50 +00:00
parent 76a3959ac2
commit 90f92b216b
4 changed files with 29 additions and 12 deletions

View file

@ -19,9 +19,12 @@
*
****************************************************************************/
#define VERSION "SVN $Revision$ (m1.0.6), built "__DATE__" "__TIME__
// PUREVERSION is needed to be able to just compare versions. It does not
// contain a build timestamp because it needs to be the same in different
// files
// VERSION is the plain version number, used for http User-Agent string.
#define VERSION "m1.0.6"
#define PUREVERSION "SVN $Revision$"
#define FULLVERSION PUREVERSION" ("VERSION"), built "__DATE__" "__TIME__