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

Ingo Klöcker kloecker at kde.org
Wed Jan 9 23:06:53 GMT 2008


On Wednesday 09 January 2008, Jarosław Staniek wrote:
> Ingo Klöcker said the following, On 2008-01-09 00:36:
> > On Tuesday 08 January 2008, Jarosław Staniek wrote:
> >> 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)"
> >
> > FWIW, Thunderbird writes
> > User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
>
> True, and I have decided to try better if possible :)
>
> >> 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.
> >
> > systemNameVersionAndMachine() does not belong into kmail.
> > Konqueror/kio_http/whatever needs exactly the same information for
> > the User-Agent header, right? And I'm pretty sure KNode and Mailody
> > would also like to use this for their User-Agent header. So this
> > method does clearly belong into kdelibs (next to KUser for example;
> > KSystemInfo maybe?).
>
> Yes, consider the current location as temporary, before KDE trunk is
> open.

Allen Winter on Sunday 18:26:55: "trunk is wide-open for 4.1."


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080110/d9c0e40b/attachment.sig>
-------------- 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