views:

506

answers:

1

I'm using Google App Engine python. I want to know what browser the user is using.

+4  A: 
class BaseRequestHandler(webapp.RequestHandler):
  def browser(self):
    return str(self.request.headers['User-Agent'])
mainsocial