谷歌云存储,Cache-Control

Iva*_*pon 9 google-cloud-storage

我尝试为Google Cloud Storage存储桶设置Cache-Control标头.它给了我400: Invalid argument error没有任何解释究竟是什么错误.有任何想法吗?

例:

gsutil setmeta -R -h 'Cache-Control:public, max-age=10000, no-transform' gs://example.com/stylesheets/
Run Code Online (Sandbox Code Playgroud)

设置元数据 gs://example.com/stylesheets/site-77ee6060.css BadRequestException: 400 Invalid argument

尝试与不同max-age,有或没有no-transform相同的结果.bucket配置为网站.

Ros*_*ght 2

我遇到了这个问题,并发现我不再拥有OWNER该对象的权限(我团队中的其他人已经编辑了该对象)。