【发布时间】:2016-11-16 12:38:53
【问题描述】:
我可以使用 Paperclip 和 fog-google 将文件上传到我的 google 存储桶。
如何设置文件头?我正在fog-aws 中寻找与s3_headers 选项等效的选项。
我尝试了 google_headers 和 fog_headers 选项,但没有成功。
【问题讨论】:
标签: paperclip google-cloud-storage fog fog-google
我可以使用 Paperclip 和 fog-google 将文件上传到我的 google 存储桶。
如何设置文件头?我正在fog-aws 中寻找与s3_headers 选项等效的选项。
我尝试了 google_headers 和 fog_headers 选项,但没有成功。
【问题讨论】:
标签: paperclip google-cloud-storage fog fog-google
我们开始吧:
fog_file: {
cache_control: 'max-age=86400'
}
【讨论】: