Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import webapp2
  2.  
  3.  
  4. class MainPage(webapp2.RequestHandler):
  5. def get(self):
  6. self.response.headers['Content-Type'] = 'text/plain'
  7. self.response.write('Hello World!')
  8.  
  9.  
  10. app = webapp2.WSGIApplication([('/', MainPage)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement