[google-appengine] Re: How to store audio or video filed in AppEngine

2009-05-19 Thread Felipe
Thanks for the info. On May 19, 2009, at 3:54 AM, 风笑雪 wrote: > Yes, you need store it as blob data. > > When you output it, you need do this way: > > self.response.headers['Content-Type'] = 'audio/mp3' # or other > type > self.response.out.write(audio.content) # 'content' is the blob

[google-appengine] Re: How to store audio or video filed in AppEngine

2009-05-19 Thread 风笑雪
Yes, you need store it as blob data. When you output it, you need do this way: self.response.headers['Content-Type'] = 'audio/mp3' # or other type self.response.out.write(audio.content) # 'content' is the blob property 2009/5/19 Felipe > Thanks but I need to be able to store binary file

[google-appengine] Re: How to store audio or video filed in AppEngine

2009-05-19 Thread Felipe
Thanks but I need to be able to store binary files dynamically. I.e files that users can upload and download. It appears I can store binary files in the AppEnginw database as a Blob. On May 19, 2009, at 3:02 AM, 风笑雪 wrote: > Use static files in your app.yaml. > > 2009/5/19 Felipe > > Can an

[google-appengine] Re: How to store audio or video filed in AppEngine

2009-05-19 Thread 风笑雪
Use static files in your app.yaml. 2009/5/19 Felipe > > Can anybody point me at the appropriate api? > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send ema