OSDN Git Service

!
authoryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:54:21 +0000 (18:54 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:54:21 +0000 (18:54 +0900)
bot.py

diff --git a/bot.py b/bot.py
index 92505bd..8ccbd3e 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -33,6 +33,7 @@ class WebHookHandler(tornado.web.RequestHandler):
                 event.reply_token,
                 TextSendMessage(text=event.message.text)
             )
+        self.set_status(200)
 
 application = tornado.web.Application([(r'/callback',WebHookHandler)])