こんにちは、ローカルホストでGoogle App Engineアプリケーションを実行しようとしていますが、実行しようとすると問題が発生します。
これは私が実行しようとしているコードです:
# helloworld.py
import webapp2
class MainHandler(webapp2.RequestHandler):
def get(self):
#"Test" text is not displayed
self.response.write("Test")
app = webapp2.WSGIApplication([('/', MainHandler)],
debug=True)
#This line prints the content
print "This works fine"
ローカルホストで開発サーバーを実行すると、応答としてコード200が返されますが、ハンドラーが正しく実行されていないようです。
何か案が?