This note outlines the HTTP header strings sent by the browsers included in S60 3rd Edition and provides some recommendations web content owners. Another note will outline the HTTP headers used by the browser included in S60 3rd Edition Feature Pack 1.
This note operates with two concepts for which there exist no unique industry terms. Therefore, the term "full Web" denotes web pages written to be consumed on devices with large screens such as PCs. The term "traditional mobile browsing" refers to web pages specifically constructed for small screen devices such as mobile phones using XHTML-MP or WML.
- - - - - - - -
Web sites use HTTP headers received from the browser to decide what kind of content to send: WML (WAP 1.x), XHTML-MP (WAP 2.0), HTML (full Web).
The new OSS Web Browser for S60, which started shipping with S60 3rd Edition, is capable of displaying full Web pages; a feature users like. However, to users' disappointment some web sites force redirect to mobile web sites based on XHTML-MP or WML and some search engines force transcoding of resulting sites through their proxy. Nokia highly recommends that users be allowed to decide whether to accept traditional mobile format, which can be faster, or accept full HTML web pages, which generally offers a richer and more familiar experience (see further recommendation below).
S60 3rd Edition has two browsers included
- The original S60 browser titled "Services" in the S60 menu is based on a WAP engine, and does not handle big Web pages
- The new OSS Web browser, which in 3rd Edition does not yet have WAP and other traditional mobile capabilities
The reason two browsers are included is that the target audience for the phones and operators alike require a full Web browser in addition to traditional mobile browsing capabilities. The functionality of the new OSS Browser will be extended in S60 3rd Edition, Feature Pack 1 to include traditional mobile browsing eliminating the need for two browsers.
The following document the HTTP headers for both browsers:
The new OSS Browser (HTML, XHTML-MP):
In S60 3rd Edition this browser is not the default browser. It may be featured in the Active Standby menu bar or in the menu grid, but it will not be opened when URL is selected in another application (e.g. message).
- Original UA string on S60 3.0 Web browser:
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en-us]) AppleWebKit/413 (KHTML, like Gecko) Safari/413
- "Rogue" UA strings that might ship on some uncorrected 3.0 devices:
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; SymbianOS/91 Series60/3.0) AppleWebkit/413 (KHTML, like Gecko) Safari/413
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es61
- Final UA string for newer S60 3.0 builds:
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; Series60/3.0 NokiaE60/4.06.0) AppleWebKit/413 (KHTML, like Gecko) Safari/413
Accept: text/html,application/xhtml+xml,text/css,text/vnd.nokia.rs-tgd, */*,text/x-hdml,image/mng,image/x-mng,video/mng,video/x-mng,image/bmp,text/html
Accept-Charset: iso-8859-1, utf-8; q=0.7, *; q=0.7,*
Accept-Encoding: deflate, gzip
Accept-Language: en;q=1.0,zh-cn, zh;q=0.5
** See also Notes below **
Web sites should ideally send full HTML to this browser, and not default to XHTML-MP. In no circumstances should a site send WML, since this browser cannot display WML. Search engines and operators should not transcode Web sites into XHTML-MP or WML.
Nokia believes S60 users will generally prefer to see full Web pages rather than basic mobile pages. However, there are times when mobile content is preferred because it is faster and simpler to navigate, and/or for business/advertising reasons. When the mobile page provides a good user experience on S60, it may make sense to redirect users to the mobile page by default.
Nokia recommends providing users a choice between full Web (HTML) and traditional mobile web (XHTML-MP). Restricting S60 users from accessing full web (HTML) content is highly undesirable and strongly advised against. Instead users should be provided a choice between full web (HTML) and traditional mobile web (XHTML-MP) and preferably the choise should be made "sticky" via a cookie freeing the user from constantly having to switch between the two formats.
Examples for user choice:
- Switch to: mobile | full page
- Change view: mobile | desktop
- View: mobile | HTML
- View: faster | richer
The Services Browser (XHTML-MP, WML):
The original S60 WAP browser is still the default browser in S60 3rd Edition, but has been renamed “Services” (in S60 2nd Edition it is called “Web”). It supports the following formats:
WAP 1.x (WML),
WAP 2.x (XHTML-MP with W-CSS and ECMAScript-MP),
some cHTML and operator-specific extensions
URLs opened from other applications (e.g. message) will open the Services browser
The Services browser User-Agent string follows the old format on most devices, but unfortunately there may be some variation
NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
or: NokiaN73-2/2.0626 S60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
or: Mozilla/4.0 (compatible; MSIE 5.0; S60/3.0 NokiaN73-1/2.0(2.06184.108.40.206) Profile/MIDP-2.0 Configuration/CLDC-1.1)
Accept-Charset: iso-8859-1, utf-8, iso-106460ucs-2; q=0.6
Accept-Encoding: gzip, defliate, x-gzip, identity; q=0.9
Accept-Language: en;q=1.0,fr;q=0.5, pt;q=0.5, es;q=0.5
** See also Notes below **
Web sites should ideally send XHTML-MP for this browser, and not default to the full Web page or WML
Search engines and operators are recommended to transcode web sites into XHTML-MP or WML
The device name/version (e.g. "NokiaE60/4.06.0") is replaced by the actual device name/version
"Series60/3.0" is replaced by the actual S60 version, e.g. "Series60/3.1"
"[en-us]" or "en" is replaced by the current user-selected language in the phone settings (e.g. "[fi]" or "fi" for Finnish), dynamically changing if user changes language settings. For English "[en-us]" or "en-us" will be dropped in favor of "[en]“ or "en". In 3.1 the language will no longer be included in the User-Agent header, but will be in the Accept-Language, without square brackets
The x-wap-profile value "http://nds1.nds.nokia.com/uaprof/N3250r100.xml" (including the " characters) is replaced by the link to the actual profile for the particular device and version, provided by the particular terminal program
There is a future possibility that some devices will remove the Java Profile version & Nokia device version, and will refer to user-agent profile instead.
Algorithm for determining which content type to send to Nokia devices:
if (User-Agent contains "AppleWebKit")
if (User-Agent contains "SymbianOS")
<<< use full HTML version (a phone with WebKit engine)
<<< use full HTML version (Apple Safari)
else if (User-Agent contains "Nokia")
<<< use XHTML version (old S60 "Services" browser or Series 40 browser)