Skip to content

Instantly share code, notes, and snippets.

@sagoyanfisic
Created March 16, 2018 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagoyanfisic/2b98a4ed24b5be798c4dd736f695c6d5 to your computer and use it in GitHub Desktop.
Save sagoyanfisic/2b98a4ed24b5be798c4dd736f695c6d5 to your computer and use it in GitHub Desktop.
import webapp2
import os
class MainPage(webapp2.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello, webapp Worasald!')
app = webapp2.WSGIApplication([
('/', MainPage),
], debug=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment