我正在做一个关于appengine的应用程序,它在那里工作得很好.我在facebook canvas URL上有应用程序的URL http://xx.appspot.com/yyy/(带尾随斜杠),当从http调用应用程序时:我得到了//apps.facebook.com/appname
405不允许的方法此资源不允许使用POST方法.
class MainHandler(webapp2.RequestHandler):def get(self):#do stuff here def post(self):pass
app = webapp2.WSGIApplication([('/ yyy /',MainHandler),('/',anotherHandler),
],debug = True)
注意:appengine日志中没有这样的错误.