这里是我的代码:蟒蛇龙卷风Get请求URL
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write(self.request.url)
def main():
settings = {"template_path": "html","static_path": "static"}
tornado.options.parse_command_line()
application = tornado.web.Application([
(r"/story/page1", MainHandler),
],**settings)
我想要得到的字符串 “/剧情/第1页”。怎么样 ?
你可以更准确?你现在得到什么? – octoback