code-google-com / arora

Automatically exported from code.google.com/p/arora
0 stars 0 forks source link

Include hardware architecture in User-Agent; it is important #876

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As for now, Arora browser doesn't mention in its User-Agent string the hardware 
architecture; i.e. 
"Mozilla/5.0 (X11; U; Linux; en-US) AppleWebKit/532.4 (KHTML, like Gecko) 
Arora/0.10.2 (Git: 1333 
0a6f1f4) Safari/532.4" only mentions software platform (Linux) but not hardware 
platform (in my 
case: power/ppc).

''uname -m' and such can tell you on GNU/Linux the hardware platform. IceCat 
(based on Firefox) 
does mention it: "Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.9.2.2) 
Gecko/20100325 IceCat/3.6.2 
(like Firefox/3.6.2)", as well as Firefox itself and even Opera the proprietary 
browser. So it's not 
impossible.

It is optional, but very important information; without it, anyone would think 
all http GET requests 
from Arora are made from x86 (i386, i486, i586, i586mmx, i686, x86_64). Many 
sites collect stats. And by the way, openSUSE and Fedora teams dropped support 
for POWER® architecture in their 
distros; they say it's less than 0.3% of non-x86 users. All non-x86 users must 
be able to expose its 
hardware platform to http servers.

Original issue reported on code.google.com by dougmenc...@gmail.com on 11 May 2010 at 9:04