Google app engine 谷歌appengine多处理器
有没有一种方法可以创建一个处理所有未指定URL的google应用程序引擎处理程序 也许像:Google app engine 谷歌appengine多处理器,google-app-engine,httphandler,Google App Engine,Httphandler,有没有一种方法可以创建一个处理所有未指定URL的google应用程序引擎处理程序 也许像: app = webapp2.WSGIApplication([ ('/', MainHandler), ('/hello',HelloHandler), ('/bye',ByeHandler), ('for-everything-else',OtherHandler) ], debug=True) 好吧,我自己找到了答案: app = webapp2.WSGIAppli
app = webapp2.WSGIApplication([
('/', MainHandler),
('/hello',HelloHandler),
('/bye',ByeHandler),
('for-everything-else',OtherHandler)
], debug=True)
好吧,我自己找到了答案:
app = webapp2.WSGIApplication([
('/', MainHandler),
('/hello',HelloHandler),
('/bye',ByeHandler),
('/.*',OtherHandler)
], debug=True)
现在请不要发表评论,告诉我“对于其他一切”不能是url如果这个词正确的话,“为其他一切”只是一个存根