Skip to content

privateDownloadUrl在生成文件下载链接时,无法指定response-content-disposition=attachment #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
skycyclone opened this issue Jun 7, 2023 · 1 comment

Comments

@skycyclone
Copy link

一般来说,生成下载文件链接都可以指定response-content-disposition=attachment;阿里云oss和腾讯云的cos在生成文件访问URL时都支持这个功能;很多公开读的云存储空间为了安全起见,文件命名都有随机码,如果能在生成URL时指定response-content-disposition,就能在用户下载对应文件时重命名为真实文件名;这个功能非常实用,希望后续SDK能加上。

@skycyclone
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant