Available HTTP request headers

Table 1. HTTP request headers sent by M-Business Client

Header

Explanation

Base 64?1

Typical Values

User-Agent

Standard User-Agent string sent with any browser request.

No

Mozilla/4.0 (compatible; AvantGo 6.0; FreeBSD)
X-AvantGo-ColorDepth

Bit depth of mobile device accessing your page.

Yes

2 4 8
X-AvantGo-DeviceOS

Operating system of mobile device accessing your page.

Yes

PALM_OS WINCE_OS
WINCE_OS_SmartPhone WIN32_OS
X-AvantGo-DeviceOSVersion

Version of operating system on mobile device accessing your page.

Yes

4.2
5.01
X-AvantGo-DeviceID

Serial number for device, available only on Palm and Pocket PC 2002 or later.

Yes

See manufacturer's documentation.

X-AvantGo-OnlineRequest

Is user browsing with live connection (as opposed to normal HotSync.)? Not present if user not online.

No

TRUE
X-AvantGo-Screensize

Size, in pixels, of screen of mobile device accessing your page.

Yes

150x150
240x320
X-AvantGo-SecureSync

Is user browsing with secure connection? Not present if connection not secure.

No

TRUE
X-AvantGo-UserID

Name of M-Business account accessing your page.

Yes

tkwebtest
todddev
X-AvantGo-Version

Version of M-Business Client accessing your page. Not present if that version is 3.1.

No

5.7 
6.0
6.2

1Is header base 64 encoded?

X-AvantGo-DeviceOS values returned by different platforms
  • PALM_OS   Returned by all Palm OS devices.

  • WINCE_OS   Returned by Windows Mobile Pocket PC 2003 and Windows Mobile 5 and 6devices.

  • WINCE_OS_SmartPhone   Returned by Microsoft Smartphone devices running Windows Mobile 5 or 6.

  • WIN32_OS   Returned by Win32 devices.

Tip

To determine whether the WINCE_OS value returned for X-AvantGo-DeviceOS is for Windows Mobile Pocket PC 2003 device or a Windows Mobile 5 or 6 device, check the value of X-AvantGo-DeviceOSVersion. It is 5.0 or later for Windows Mobile 5 or 6; 4.x or lower for Windows Mobile Pocket PC 2003.