class ServeHandler(blobstore_handlers.BlobstoreDownloadHandler):

    def get(self, blob_key):
        blob_key = str(urllib.parse.unquote(blob_key))
if not blobstore.get(blob_key):
    self.error(404)
else:
    self.send_blob(blobstore.BlobInfo.get(blob_key), save_as=True)

def main():
    application = webapp.WSGIApplication([('/', MainHandler), ('/upload',
        UploadHandler), ('/serve/([^/]+)?', ServeHandler)], debug=True)
run_wsgi_app(application)
if __name__ == '__main__':
    main()
Загрузить файлы в Google App Engine