As it is today Qt's default user agent (in qwebpage.cpp) is hard coded to:

"Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.15 (KHTML, 
like Gecko) Safari/419.3 Qt"

Seeing as this library will be used inside of many other applications it makes 
sense to include by default at least the application name/version when they 
are set.  QCoreApplication gives us several strings which can be used.

applicationName, applicationVersion, organizationDomain, organizationName

But at a bigger question, what should be included (or not included) with the 
default user agent?  Is there docs anywhere that suggest what webkit library 
users should use as their user agent string?

-Benjamin Meyer

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to