Downloaded filename with Google App Engine Blobstore

后端 未结 4 2034
余生分开走
余生分开走 2021-02-14 10:52

I\'m using the Google App Engine Blobstore to store a range of file types (PDF, XLS, etc) and am trying to find a mechanism by which the original filename of the uploaded file -

4条回答
  •  青春惊慌失措
    2021-02-14 11:17

    Yes it is the best approach; just query the BlobInfo object using the given Blobstore key and use its content-type property.

提交回复
热议问题