Really confused about this...
I take in a content ID on
app = webapp2.WSGIApplication([('/mobile/upload',MobileUploadHandler),
('/mobile/(.*)',ContentIDHandler)],debug=True)
If there is a post action attached to the content ID, I write out a form (via a jinja2 template):
template = jinja_environment.get_template('templates/mobileupload.html')
template_values = {'upload_url':blobstore.create_upload_url('/mobile/upload')}
self.response.out.write(template.render(template_values))
The blob upload URL is visible in the HTML. I don't know that it is correct, but it looks like a blob upload URL.
When the form POSTs, it is supposed to redirect to this handler:
`class MobileUploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self):`
However, it never gets there - it redirects instead to /mobile/undefined.
I'm not really sure what this means. Is there a problem with the argument I passed to create_upload_url?