Skip to content

Commit f10c68a

Browse files
committed
增加测试文件
1 parent b29585a commit f10c68a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

demo/site/user-agent.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#coding: utf-8
2+
3+
def handler(self):
4+
print self.environ
5+
user_agent = self.environ.get('HTTP_USER_AGENT')
6+
print user_agent
7+
return '你的浏览器是:%s' % user_agent

0 commit comments

Comments
 (0)