[Kde-pim] [patch] Extension of the User-Agent field in KMail messages

Jarosław Staniek js at iidea.pl
Tue Jan 8 22:42:57 GMT 2008


Hello,
Previously the value of User-Agent field in KMail was like "KMail/1.9.50".
Not bad, assuming it was Linux/Unix.

The patch changes that by adding operating system version, KDE version and 
simple machine info. It's modeled after
http://www.mozilla.org/build/revised-user-agent-strings.html, e.g. uses ';' 
and does not uses spaces within tags.

Example: "KMail/1.9.50 (Windows/5.0; KDE/3.97.1; i686)"

For Linux the OS info would be like "Linux/2.6.8-2".
As you can see I do not care here about "X11" tag, as we know it from web 
browsers.

The information would be usable for our development and to get some light stats.

PS: Till has also proposed to add SVN revision tag as well, but do we have 
this information already provided at CMake level (e.g. revision of kdepim/ as 
a module)? It would be indeed _very_ usable in _any_ application for the about 
box and --version cmd line option.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: user-agent.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080108/19407c5f/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list