Menneisyys
05-11-2008, 02:35 PM
In several of my articles, Bibles, W3C presentations etc., I’ve explained what HTTP User-Agents are, what they can be used for if you’re a webmaster etc. As my previous articles (see THIS (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=796&more=1&c=1&tb=1&pb=1), THIS (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1125&more=1&c=1&tb=1&pb=1) and THIS (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=482&more=1&c=1&tb=1&pb=1), in addition to the W3C presentation (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=2625&more=1&c=1&tb=1&pb=1) and the two Web Browsing Bibles HERE (http://www.pocketpcmag.com/blogs/index.php?p=1828) and HERE (http://www.pocketpcmag.com/blogs/index.php?p=2084)) on the subject got a bit outdated with the latest browsers and firmware versions out there, I’ve re-checked the User-Agents. This time, I also provide you with all the other headers, should you want to correctly identify the mobile browser even if it’s User-Agent spoofed (that is, it’s trying to hide its identity). Note that I don’t explain what this info is used for – I’ve already done this several times in the above-linked articles, read them first if you need more info on the usage of all this info.
Internet Explorer Mobile (IEM)
WM6.0 Classic (HP iPAQ 210, official ROM):
Accept: */*
Accept-Language: en-us
UA-OS: Windows CE (Pocket PC) - Version 5.2
UA-color: color16
UA-Voice: FALSE
UA-pixels: 480x640
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.7)
Connection: Keep-Alive
WM6.0 Standard (HTC S710 with the January official ROM upgrade):
Accept: application/vnd.wap.mms-message;*/*
Accept-Language: en-us
UA-OS: Windows CE (Smartphone) - Version 5.2
UA-color: color16
x-wap-profile: "http://www.htcmms.com.tw/gen/Vox-1.0.xml"
UA-Voice: TRUE
UA-pixels: 320x240
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.6) SP; 240
x320; HTC_S710/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
Connection: Keep-Alive
WM6.1 Pro (“Cooked” HTC Universal ROM):
UA-OS: Windows CE (Win32) - Version 5.2
UA-color: color16
UA-Voice: TRUE
UA-pixels: 640x480
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)
WM5:
Accept: */*
Accept-Language: en-us
UA-OS: Windows CE (Pocket PC) - Version 5.1
UA-color: color16
UA-pixels: 480x640
Accept-Encoding: gzip,deflate
UA-Voice: FALSE
UA-CPU: x86
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Connection: Keep-Alive
Opera Mini 4.1 under Jbed 3.1:
User-Agent: Opera/9.50 (J2ME/MIDP; Opera Mini/4.1.10781/302; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
X-OperaMini-Features: advanced, file_system, folding
X-OperaMini-Phone-UA: Jbed Profile/MIDP-2.0 Configuration/CLDC-1.1
X-OperaMini-Phone: ? # ?
Opera Mobile 9.33b:
User-Agent: Opera/9.0 (Microsoft Windows; PPC; Opera Mobile/331; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://host: port/
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
Opera Mobile 8.50:
GET / HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 480x640) Opera 8.50 [en]
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
Current NetFront 3.5 TP
Accept: image/png, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Accept-Charset: Shift_JIS,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (PDA; NF35WMPRO/1.0; like Gecko) NetFront/3.5
Pragma: no-cache
Cache-Control: no-cache
Connection: Keep-Alive
Accept-Encoding: deflate, gzip
NetFront 3.3 final
User-Agent: Mozilla/4.08 (PDA; NF33PPC3AR/1.0) NetFront/3.3
Thunderhawk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011018
On desktop Windows:
IE7 (emulated in IE8):
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 2.0.50727; FDM; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
IE8:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 2.0.50727; FDM; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
Opera 9.5b:
User-Agent: Opera/9.50 (Windows NT 5.1; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en-US,en;q=0.9
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
Mozilla/Firefox 3b5:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Other mobile OS’es
Symbian S60 FP1: Nokia S60 Web (on the N95 v21):
Accept: text/html,text/css,multipart/mixed,application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.oma.dd+xml, application/vnd.oma.drm.rights+xml, application/vnd.oma.drm.rights+wbxml, */*
Accept-Charset: iso-8859-1, utf-8; q=0.7, *; q=0.7
Accept-Encoding: gzip, deflate, x-gzip, identity; q=0.9
Accept-Language: en;q=1.0,fr;q=0.5,de;q=0.5,es;q=0.5,it;q=0.5,pt;q=0.5
User-Agent: Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/21.0.016; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413
x-wap-profile: "http://nds1.nds.nokia.com/uaprof/NN95-1r100.xml"
X-Nokia-MusicShop-Version: 1.0.0
X-Nokia-MusicShop-Bearer: GPRS/3G
iPhone Safari:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3B48b Safari/419.3
Note that, here, 3B48b can be anything else; see for example THIS (http://www.mattcutts.com/blog/iphone-user-agent/).
Internet Explorer Mobile (IEM)
WM6.0 Classic (HP iPAQ 210, official ROM):
Accept: */*
Accept-Language: en-us
UA-OS: Windows CE (Pocket PC) - Version 5.2
UA-color: color16
UA-Voice: FALSE
UA-pixels: 480x640
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.7)
Connection: Keep-Alive
WM6.0 Standard (HTC S710 with the January official ROM upgrade):
Accept: application/vnd.wap.mms-message;*/*
Accept-Language: en-us
UA-OS: Windows CE (Smartphone) - Version 5.2
UA-color: color16
x-wap-profile: "http://www.htcmms.com.tw/gen/Vox-1.0.xml"
UA-Voice: TRUE
UA-pixels: 320x240
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.6) SP; 240
x320; HTC_S710/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
Connection: Keep-Alive
WM6.1 Pro (“Cooked” HTC Universal ROM):
UA-OS: Windows CE (Win32) - Version 5.2
UA-color: color16
UA-Voice: TRUE
UA-pixels: 640x480
UA-CPU: ARM
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)
WM5:
Accept: */*
Accept-Language: en-us
UA-OS: Windows CE (Pocket PC) - Version 5.1
UA-color: color16
UA-pixels: 480x640
Accept-Encoding: gzip,deflate
UA-Voice: FALSE
UA-CPU: x86
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Connection: Keep-Alive
Opera Mini 4.1 under Jbed 3.1:
User-Agent: Opera/9.50 (J2ME/MIDP; Opera Mini/4.1.10781/302; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
X-OperaMini-Features: advanced, file_system, folding
X-OperaMini-Phone-UA: Jbed Profile/MIDP-2.0 Configuration/CLDC-1.1
X-OperaMini-Phone: ? # ?
Opera Mobile 9.33b:
User-Agent: Opera/9.0 (Microsoft Windows; PPC; Opera Mobile/331; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Referer: http://host: port/
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
Opera Mobile 8.50:
GET / HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 480x640) Opera 8.50 [en]
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
Current NetFront 3.5 TP
Accept: image/png, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Accept-Charset: Shift_JIS,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (PDA; NF35WMPRO/1.0; like Gecko) NetFront/3.5
Pragma: no-cache
Cache-Control: no-cache
Connection: Keep-Alive
Accept-Encoding: deflate, gzip
NetFront 3.3 final
User-Agent: Mozilla/4.08 (PDA; NF33PPC3AR/1.0) NetFront/3.3
Thunderhawk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011018
On desktop Windows:
IE7 (emulated in IE8):
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 2.0.50727; FDM; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
IE8:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 2.0.50727; FDM; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30)
Connection: Keep-Alive
Opera 9.5b:
User-Agent: Opera/9.50 (Windows NT 5.1; U; en)
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en-US,en;q=0.9
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive
Mozilla/Firefox 3b5:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Other mobile OS’es
Symbian S60 FP1: Nokia S60 Web (on the N95 v21):
Accept: text/html,text/css,multipart/mixed,application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.oma.dd+xml, application/vnd.oma.drm.rights+xml, application/vnd.oma.drm.rights+wbxml, */*
Accept-Charset: iso-8859-1, utf-8; q=0.7, *; q=0.7
Accept-Encoding: gzip, deflate, x-gzip, identity; q=0.9
Accept-Language: en;q=1.0,fr;q=0.5,de;q=0.5,es;q=0.5,it;q=0.5,pt;q=0.5
User-Agent: Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/21.0.016; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413
x-wap-profile: "http://nds1.nds.nokia.com/uaprof/NN95-1r100.xml"
X-Nokia-MusicShop-Version: 1.0.0
X-Nokia-MusicShop-Bearer: GPRS/3G
iPhone Safari:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3B48b Safari/419.3
Note that, here, 3B48b can be anything else; see for example THIS (http://www.mattcutts.com/blog/iphone-user-agent/).