I would like to return browser-specific code from Pylons. Is there some way to determine the type of browser (IE, Firefox, etc) that has requested a page?
I would like to return browser-specific code from Pylons. Is there some way to determine the type of browser (IE, Firefox, etc) that has requested a page?
Powered by Pylons - Contact Administrators
Comments (2)
Mar 06, 2008
Vasily S. Shevkunov says:
request.environ["HTTP_USER_AGENT"]request.environ["HTTP_USER_AGENT"]
Mar 06, 2008
Vasily S. Shevkunov says:
Sorry, request.environ["HTTP_USER_AGENT"]Sorry,