UAProf .xml files vs. HTTP Headers

UAProf .xml files vs. HTTP Headers SearchSearch
Author Message
Paul Wakam
Unregistered guest
Posted on Monday, December 22, 2003 - 03:35 am:   

Hello.

Is there any way to correllate the HTTP_USER_AGENT header with a vendors UAProf XML file?

For example, take the Ericsson T610 definition - in the XML file on the UAProf section of the Ericssson site, we get

Vendor: Sony Ericssion Mobile Communications
Model: T610R101

When the phone visits a web page, we get:

HTTP_USER_AGENT:SonyEricssonT610/R101 Profile/MIDP-1.0

Given this HTTP_USER_AGENT value, how would we link the two? It seems this is the case for all vendors, and it seems a little strange that the actual header isn't inside the UAProf XML file!

The other question is actually a suggestion: I was reading a thread where everyone was posting GPRS connection details to garnish a master list (great idea) - how about doing the same for UAProf? Maybe set up a blog and people hit the site with their phones - that way the a similar list could be organically grown?

Paul.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1481
Registered: 10-2002
Posted on Wednesday, December 31, 2003 - 07:27 pm:   

Paul,

It is odd that the "User-agent:" header is not included in the UAProf file. (Of course, the same UAProf file could apply to multiple user agents.)

However, the proper way to retrieve the UAProf is via the "Profile:" header. This header contains a URL link to the UAProf file on the manufacturer's web site.

The only problem is that a few WAP gateways don't forward this header. Vodafone UK's WAP gateway has been most notorious for not forwarding this header, not sure if they've changed this yet.

There is a link to a good UAProf repository referenced in the following thread:

http://support.nowsms.com/discus/messages/12/549.html