Recently a new mobile theme for the MWS was released with version 1.4 and I made the suggestion on the MWS blog to implement browser detection to automatically show this theme when the mobile website is visited using a mobile browser and another preset theme when the site is browsed by a PC browser.

I've tried to implement automatic browser detection, but it appears that the current PyS60 does not support 'os.environ.get(HTTP_USER_AGENT)'. I've tried all kind of things, but did not succeed in Python. At the end I wrote a javascript to implement automatic browser detection, but it would be much nicer to do it in PyS60.

Has any body a suggestion on how to retrieve the browser information in another way?