from google.appengine.ext import blobstore
upload_url = blobstore.create_upload_url('/upload')
uplaod_url 是一个唯一的 url,如何在处理程序中获取它?
from google.appengine.ext.webapp import blobstore_handlers
class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self):
upload_files = self.get_uploads('file')
blob_info = upload_files[0]
self.redirect('/serve/%s' % blob_info.key())