remove use of 1.6.4-compatible 'wrapper'
[gae-samples.git] / guestbook / guestbook2_webapp.py
blob9c1e9be97d89e6ada6ad34bd64500271441c4853
1 from google.appengine.ext import webapp
2 from google.appengine.ext.webapp.util import run_wsgi_app
4 class MainPage(webapp.RequestHandler):
5 def get(self):
6 self.response.headers['Content-Type'] = 'text/plain'
7 self.response.out.write('Hello, webapp World!')
9 application = webapp.WSGIApplication(
10 [('/', MainPage)],
11 debug=True)
13 def main():
14 run_wsgi_app(application)
16 if __name__ == "__main__":
17 main()