import wsgiref.handlers
from google.appengine.ext import webapp
class MyHandler(webapp.RequestHandler):
def get(self):
myPath = self.request.path.replace('/', '');
def main():
application = webapp.WSGIApplication(
[('/.*', MyHandler)],
debug=False)
wsgiref.handlers.CGIHandler().run(application)
if __name__ == "__main__":
main()
Refactorings
No refactoring yet !
ielectric.myopenid.com
July 22, 2008, July 22, 2008 18:07, permalink
Take a look at routes python module.
Kaylyn
November 24, 2011, November 24, 2011 03:31, permalink
I am taotlly wowed and prepared to take the next step now.
ERROR_BAD_DUPLICATES
if my url is http://zote.appspot.com and user access http://zote.appspot.com/Refactor I need to get Refactor