class XMPPHandler(webapp.RequestHandler):

    def post(self):
        msg = xmpp.Message(self.request.POST)
msg.reply("I got your msg: '%s'" % msg.body)
application = webapp.WSGIApplication([('/_ah/xmpp/message/chat/',
    XMPPHandler)], debug=True)

def main():
    run_wsgi_app(application)
if __name__ == '__main__':
    main()
Отзыв о доступности с Google App Engine