阅读背景:

使用Django从Amazon S3下载文件

来源:互联网 

I have a Django app that allows users to download MP3 files that they purchased and these MP3 files are hosted in Amazon S3. How can I force a download when users click a "download" button without allowing them to see the original link (to Amazon)? I have a view that downloads the file but the file is corrupt. Here is how it looks like:I have a Django app that allows users to downlo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: