Python/AppEngine:获取客户端浏览器信息



如何使用Python/AppEngine获取客户端浏览器信息(类型,版本等)?

来自User-Agent报头:

user_agent_string = self.request.headers['user-agent']

http://code.google.com/appengine/docs/python/tools/webapp/requestclass.html request_header

相关内容

最新更新