On Wed, Aug 7, 2013 at 7:51 PM, Matt <[email protected]> wrote: > I'm using the following code on my local dev server to prompt the user to > save an image that has been uploaded into the blobstore and it's working > fine. > > response.headers['Content-Type'] = 'image/jpeg' > response.headers['Content-Disposition'] = 'attachment; > filename="export.jpg"' > response.headers[blobstore.BLOB_KEY_HEADER] = key > > Where the 'key' is the blobstore key. > > However when I deploy to GAE it fails to work. Returns a server 500 and > doesn't tell me what the issue is. >
How large are these image files? Sometimes blobstore chokes if it's a large file to send. Can you also record the value of blobstore.BLOB_KEY_HEADER and key into logging, and verify those are proper, non-corrupted values? ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
